Skip to content

Commit

Permalink
chore: Test sparse reccommend only
Browse files Browse the repository at this point in the history
  • Loading branch information
hh-space-invader committed Mar 11, 2025
1 parent 0d56a4e commit 22034e5
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,38 +43,38 @@ jobs:
path: /tmp/fastembed_cache
key: fastembed-cache
restore-keys: |
fastembed-cache
- name: Run async client generation tests
run: |
if [[ ${{ matrix.python-version }} == "3.10.x" ]]; then
./tests/async-client-consistency-check.sh
fi
shell: bash
- name: Run inspection cache population tests
run: |
if [[ ${{ matrix.python-version }} == "3.10.x" ]]; then
./tests/inspection-cache-consistency-check.sh
fi
shell: bash
- name: Check conversion coverage
run: |
export RUNNER_OS=${{ runner.os }}
./tests/coverage-test.sh
shell: bash
- name: Run Python doc tests
run: |
python -m doctest qdrant_client/local/local_collection.py
fastembed-cache
# - name: Run async client generation tests
# run: |
# if [[ ${{ matrix.python-version }} == "3.10.x" ]]; then
# ./tests/async-client-consistency-check.sh
# fi
# shell: bash
# - name: Run inspection cache population tests
# run: |
# if [[ ${{ matrix.python-version }} == "3.10.x" ]]; then
# ./tests/inspection-cache-consistency-check.sh
# fi
# shell: bash
# - name: Check conversion coverage
# run: |
# export RUNNER_OS=${{ runner.os }}
# ./tests/coverage-test.sh
# shell: bash
# - name: Run Python doc tests
# run: |
# python -m doctest qdrant_client/local/local_collection.py
- name: Run integration tests
run: |
./tests/integration-tests.sh
shell: bash
- name: Backward compatibility integration tests
run: |
export RUNNER_OS=${{ runner.os }}
QDRANT_VERSION='v1.12.6' ./tests/integration-tests.sh
shell: bash
- name: Run fastembed tests without fastembed
run: |
pip3 uninstall fastembed -y
time pytest tests/test_fastembed.py -n auto --durations=0
shell: bash
# - name: Backward compatibility integration tests
# run: |
# export RUNNER_OS=${{ runner.os }}
# QDRANT_VERSION='v1.12.6' ./tests/integration-tests.sh
# shell: bash
# - name: Run fastembed tests without fastembed
# run: |
# pip3 uninstall fastembed -y
# time pytest tests/test_fastembed.py -n auto --durations=0
# shell: bash
4 changes: 2 additions & 2 deletions tests/integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ done
# Backwards compatibility tests are enabled by setting QDRANT_VERSION to a version that is not the latest
# OR by setting IGNORE_CONGRUENCE_TESTS to true
if [[ "$QDRANT_VERSION" != "$QDRANT_LATEST" ]] || [[ "$IGNORE_CONGRUENCE_TESTS" == "true" ]]; then
QDRANT_VERSION=$QDRANT_VERSION time pytest --ignore=tests/congruence_tests -n auto --durations=0
QDRANT_VERSION=$QDRANT_VERSION time pytest tests/congruence_tests/test_sparse_recommend.py --durations=0 -vv
else
QDRANT_VERSION=$QDRANT_VERSION time pytest -n auto --durations=0
QDRANT_VERSION=$QDRANT_VERSION time pytest tests/congruence_tests/test_sparse_recommend.py --durations=0 -vv
fi


Expand Down

0 comments on commit 22034e5

Please sign in to comment.