Skip to content

Merge pull request #131 from bryanguarente/main #55

Merge pull request #131 from bryanguarente/main

Merge pull request #131 from bryanguarente/main #55

Workflow file for this run

name: Tests (uv)
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
# Cancel in-progress jobs when pushing to the same branch.
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
python-version: "3.10"
- os: ubuntu-latest
python-version: "3.11"
- os: ubuntu-latest
python-version: "3.12"
- os: ubuntu-latest
python-version: "3.13"
- os: macos-latest
python-version: "3.13"
continue-on-error: true
- os: windows-latest
python-version: "3.13"
continue-on-error: true
name: Python ${{ matrix.python-version }} • ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install the project
shell: bash -el {0}
run: uv sync
- name: Run tests
shell: bash -el {0}
env:
TMPDIR: ${{ runner.temp }}
run: uv run pytest