Skip to content

unit_tests.yml: python-version: '3.12' #20

unit_tests.yml: python-version: '3.12'

unit_tests.yml: python-version: '3.12' #20

Workflow file for this run

name: Unit Tests
'on':
- push
- pull_request
jobs:
test:
name: Run Tests
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
matrix:
os:
- ubuntu-latest
python-version:
- '3.12'
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -r requirements.txt && pip install pytest pytest-cov
- name: Run tests
run: pytest tests/ --cov=.
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4