Skip to content

Add tests to CI

Add tests to CI #1

Workflow file for this run

name: tests
on:
pull_request:
push:
branches: [main]
# Only allow one instance of this workflow for each PR.
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: |
3.12
3.13
cache: 'pip'
cache-dependency-path: |
pyproject.toml
tox.ini
- run: pip install tox
- run: tox run-parallel --parallel-no-spinner
env:
FORCE_COLOR: "1"