Skip to content

Run Tests

Run Tests #2

Workflow file for this run

name: Run Tests
on:
workflow_run:
workflows: ["Type Check & Lint"]
types:
- completed
jobs:
test:
name: Test
runs-on: ubuntu-latest
# Only run if the type check workflow succeeded
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
version: "0.9.27"
enable-cache: true
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version-file: ".python-version"
- name: Install dependencies
run: uv sync --dev --all-extras
- name: Run tests
run: uv run pytest tests