Skip to content

chore: trigger pre-commit.ci #293

chore: trigger pre-commit.ci

chore: trigger pre-commit.ci #293

Workflow file for this run

# This workflow will install Python dependencies, run tests with a variety of Python versions
name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v6
- name: Install uv and set the python version
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install the project
run: |
uv sync --group dev --group test
- name: Run prek
run: |
uv run prek run --all-files
- name: Test with pytest
run: |
uv run python -m pytest -r sa --mpl --mpl-results-path=pytest_results -n auto
- name: Upload pytest test results
uses: actions/upload-artifact@v6
if: failure()
with:
name: pytest_results-${{ matrix.python-version }}
retention-days: 3
path: pytest_results