Skip to content

pytest

pytest #25

Workflow file for this run

name: pytest
on: [push, pull_request]
jobs:
pip-build:
timeout-minutes: 50
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: black
uses: psf/black@stable
# with:
# args: ". --check --config pyproject.toml"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: |
pip install pytest
export PYTHONPATH=${PYTHONPATH}:/home/runner/work/trecrun/trecrun/
# checks every test except those marked download
python -m pytest -vvv