Skip to content

ci: add mirror to target pcm-dpc repo #39

ci: add mirror to target pcm-dpc repo

ci: add mirror to target pcm-dpc repo #39

name: Build Wheels On Main
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up uv (and Python)
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Sync deps
run: uv sync --frozen
- name: Run tests
run: uv run pytest -q
- name: Build sdist/wheel
run: uv build
- name: Upload dists
uses: actions/upload-artifact@v4
with:
name: dist-${{ matrix.python-version }}
path: dist/*