Skip to content

Workflow file for this run

name: Test
on: [push, pull_request, workflow_dispatch]
env:
FORCE_COLOR: 1
jobs:
tests:
name: "Tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: 3.x
cache: pip
cache-dependency-path: dev-requirements.txt
- run: |
python -m pip install -r dev-requirements.txt
- run: |
pytest tests/ --cov . --cov tests --cov-report term --cov-report xml
- name: Upload coverage
uses: codecov/codecov-action@v4.3.0