Skip to content

Run tests with coverage reporting #298

Run tests with coverage reporting

Run tests with coverage reporting #298

Workflow file for this run

name: tox
on: [push, pull_request]
jobs:
tox:
strategy:
fail-fast: false
max-parallel: 4
matrix:
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip
cache-dependency-path: |
tox.ini
setup.py
- run: pip install tox
- run: tox -e py
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}