Skip to content

ci: Bump python-semantic-release/publish-action from 10.5.3 to 10.6.0 #13

ci: Bump python-semantic-release/publish-action from 10.5.3 to 10.6.0

ci: Bump python-semantic-release/publish-action from 10.5.3 to 10.6.0 #13

Workflow file for this run

name: CI
# Runs on every pull request, and is also called by the Release workflow on
# pushes to main (so a release only happens when lint + tests are green).
on:
pull_request:
workflow_call:
permissions:
contents: read
jobs:
lint:
name: lint (ruff)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.12"
- name: Install ruff
run: python -m pip install --upgrade pip ruff
- name: Ruff lint
run: ruff check .
test:
name: test (py${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.python-version }}
- name: Install (editable + test deps)
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run tests
run: pytest -ra
- name: Smoke test the acceptance flow
run: python scripts/dev-smoke-test.py