Skip to content

Commit

Permalink
add SKIP flag for rerankers
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerhutcherson committed Apr 27, 2024
1 parent 63e6c8b commit 986af5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Run tests
if: matrix.connection != 'plain' || matrix.redis-stack-version != 'latest'
run: |
SKIP_VECTORIZERS=True make test-cov
SKIP_VECTORIZERS=True SKIP_RERANKERS=True make test-cov
- name: Run notebooks
if: matrix.connection == 'plain' && matrix.redis-stack-version == 'latest'
Expand Down
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ Tests w/out vectorizers:
SKIP_VECTORIZERS=true make test-cov
```

Tests w/out rerankers:
```bash
SKIP_RERANKERS=true make test-cov
```

> Dev requirements are needed here to be able to run tests and linting.
> See other commands in the [Makefile](Makefile)
Expand Down

0 comments on commit 986af5c

Please sign in to comment.