Skip to content

Run CI tests with tox #62

Run CI tests with tox

Run CI tests with tox #62

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- ['3.10', 'py310']
- ['3.11', 'py311']
- ['3.12', 'py312']
- ['3.13', 'py313']
- ['pypy3.10', 'pypy310']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version[0] }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version[0] }}
allow-prereleases: true
- name: Run tests
run: |
pip install tox
tox run -e ${{ matrix.python-version[1] }}