Skip to content

Add a PSF 2 license assigning copyright to the PSF (#37) #104

Add a PSF 2 license assigning copyright to the PSF (#37)

Add a PSF 2 license assigning copyright to the PSF (#37) #104

Workflow file for this run

name: CI
on: [push, pull_request, workflow_dispatch]
env:
FORCE_COLOR: 1
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Run ruff lint
uses: astral-sh/ruff-action@v3
- name: Run ruff format check
uses: astral-sh/ruff-action@v3
with:
args: "format --check --diff"
test:
name: Test on Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.14"]
steps:
- uses: actions/checkout@v5
- name: Set up uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --locked --dev --no-editable
- name: Run tests
run: uv run pytest tests/ -v --tb=short
- name: Upload coverage reports
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results-${{ matrix.python-version }}
path: |
.coverage
htmlcov/
retention-days: 30