Skip to content

Refactor v1 prep

Refactor v1 prep #4

Workflow file for this run

name: Tests
on:
pull_request:
paths:
- '.github/workflows/pytest.yml'
- 'requirements.txt'
- 'requirements-dev.txt'
- 'src/**'
- 'tests/**'
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache-dependency-path: requirements*.txt
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
- name: Run tests
run: |
python -m pytest tests/ -vv