Files
qdrant-client/.github/workflows/integration-tests.yml
estebany-qd df76e0b5d1 ci: Pin all gh actions to commit SHAs (#1179)
* ci: Pin all gh actions to commit SHAs

* new: update checkout to v2 in type check ci

---------

Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>
2026-03-31 10:11:39 -05:00

79 lines
2.3 KiB
YAML

name: Integration tests
on:
push:
branches: [ master, dev ]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
test:
strategy:
matrix:
python-version:
- '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@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- name: Set up Python
uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2.3.4
with:
python-version: ${{ matrix.python-version }}
- name: Install jq
uses: dcarbone/install-jq-action@b7ef57d46ece78760b4019dbc4080a1ba2a40b45 # v3.2.0
- 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: |
./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
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
./tests/integration-tests.sh
shell: bash
- name: Backward compatibility integration tests
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
QDRANT_VERSION='v1.15.5' ./tests/integration-tests.sh
shell: bash
- name: Upload failed snapshot if tests fail
if: failure()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: failed_snapshot
path: failed_snapshot.snapshot
retention-days: 10