Skip to content

Modernize packaging and CI (pyproject.toml, Tox, GHA) #2

Modernize packaging and CI (pyproject.toml, Tox, GHA)

Modernize packaging and CI (pyproject.toml, Tox, GHA) #2

Workflow file for this run

name: Pipeline
on: push
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
env:
- lint
- format
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: pip install tox
- run: tox run -e ${{ matrix.env }}
test:
needs:
- check
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.10'
- '3.11'
- '3.12'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install tox
- run: tox run -e py