-
Notifications
You must be signed in to change notification settings - Fork 121
73 lines (66 loc) · 1.95 KB
/
integration-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: Integration tests
on:
push:
branches: [ master, dev ]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
test:
strategy:
matrix:
python-version:
- '3.9.x'
- '3.10.x'
- '3.11.x'
- '3.12.x'
- '3.13.x'
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
name: Python ${{ matrix.python-version }} on ${{ matrix.os }} test
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install poetry
poetry config virtualenvs.create false
poetry install --no-interaction --no-ansi --all-extras
- 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.11.5' ./tests/integration-tests.sh
shell: bash
- name: Run fastembed tests without fastembed
run: |
pip3 uninstall fastembed -y
pytest tests/test_fastembed.py
shell: bash