Skip to content

[pre-commit.ci] pre-commit autoupdate #1020

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #1020

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
tests:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
python-version:
- 3.8
- 3.9
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python - -y
- name: Install dependencies
run: poetry install --with=test
- name: Run tox targets for ${{ matrix.python-version }}
run: poetry run tox run -f python$(echo ${{ matrix.python-version }} | tr -d .)