Metadata #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
paths: | |
- 'src/**' | |
- 'tests/**' | |
- 'pyproject.toml' | |
- 'uv.lock' | |
- '.github/workflows/test.yml' | |
jobs: | |
test: | |
name: Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
arch: amd64 | |
python-version: "3.13" | |
- os: ubuntu-latest | |
arch: amd64 | |
python-version: "3.9" | |
# - os: ubuntu-latest | |
# arch: arm64 | |
# - os: macos-latest | |
# arch: amd64 | |
# - os: macos-latest | |
# arch: arm64 | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: astral-sh/setup-uv@v4 | |
with: | |
version: "latest" | |
python-version: "${{ matrix.python-version }}" | |
- name: Run install | |
run: uv run make install | |
- name: Run lint | |
run: uv run make lint | |
if: contains(matrix.os, 'ubuntu') && contains(matrix.arch, 'amd64') | |
- name: Run tests | |
run: uv run make test |