Fix query to align with Qdrant mixin usage (#115) #270
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: [ master, main ] | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
strategy: | |
matrix: | |
python-version: | |
- '3.8.x' | |
- '3.9.x' | |
- '3.10.x' | |
- '3.11.x' | |
- '3.12.x' | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-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 | |
- name: Run tests | |
run: | | |
export IS_UBUNTU_CI=$(test "${{ matrix.os }}" = "ubuntu-latest" && echo "true" || echo "false") | |
pytest | |
shell: bash |