🐛queue
should not be reset
#374
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: Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [3.8, 3.9, "3.10"] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
miniconda-version: "latest" | |
activate-environment: test | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
shell: bash -l {0} | |
run: | | |
conda install pytorch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 -c pytorch | |
pip install -e . | |
pip install -U --force-reinstall chardet charset-normalizer | |
- name: Install test dependencies | |
shell: bash -l {0} | |
run: | | |
pip install httpx | |
pip install pytest | |
pip install pytest-cov | |
pip install pandas | |
- name: Test with pytest | |
shell: bash -l {0} | |
run: | | |
pytest -v --cov=core --durations=0 |