Skip to content

Fix formatting and content in CHANGELOG.md #9

Fix formatting and content in CHANGELOG.md

Fix formatting and content in CHANGELOG.md #9

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
# Cancel in-progress runs for the same ref when a new commit arrives.
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Tests (Python ${{ matrix.python }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: ['3.12', '3.13']
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Set up Python ${{ matrix.python }}
run: uv python install ${{ matrix.python }}
- name: Install project + dev dependencies
run: uv sync --python ${{ matrix.python }}
# Live database tests are gated behind `skipif` on the presence of
# local connection.properties files — on CI runners they will skip
# automatically, so unit-only execution is the default here.
- name: Run tests
run: uv run python -m pytest -q --tb=short
build:
name: Build sdist + wheel
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- run: uv build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: dist-${{ github.sha }}
path: dist/
retention-days: 7