Skip to content

fix: remove Python setup step from GitHub Actions workflow #3

fix: remove Python setup step from GitHub Actions workflow

fix: remove Python setup step from GitHub Actions workflow #3

Workflow file for this run

name: Python Tests
on:
push:
branches: [ main ]
paths:
- 'src/**'
- 'tests/**'
- 'pyproject.toml'
- '.github/workflows/pytest.yml'
pull_request:
paths:
- 'src/**'
- 'tests/**'
- 'pyproject.toml'
- '.github/workflows/pytest.yml'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.7.14"
- name: Install the project
run: uv sync --locked --group test
- name: Run tests
run: uv run pytest