Skip to content

Bump actions/checkout from 6 to 7 (#5) #35

Bump actions/checkout from 6 to 7 (#5)

Bump actions/checkout from 6 to 7 (#5) #35

Workflow file for this run

name: tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install package + dev deps
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Lint
run: ruff check scripts/
- name: Format check
run: ruff format --check scripts/
- name: Type check
run: mypy
- name: Run tests with coverage
run: pytest scripts/ -q --cov=scripts --cov-report=term-missing --cov-fail-under=93