mirror of
https://github.com/qdrant/fastembed.git
synced 2026-07-23 19:30:50 -05:00
* wip: remove model dir * fix: update pytest run * wip: disable some tests not used atm * wip: disable some tests in ci * wip: add debug print * fix: fix ci, remove models after usage * fix: fix bm25 deletion * fix: remove redundant ci commands
46 lines
929 B
YAML
46 lines
929 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ master, main, gpu ]
|
|
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@v3
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
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 --without docs
|
|
|
|
- name: Run pytest
|
|
run: |
|
|
poetry run pytest
|