From cd0a7c7fe53ed5b368baa4f4cb6231a387ead731 Mon Sep 17 00:00:00 2001 From: Nikolas Jack Altran Date: Sun, 5 Jul 2026 15:03:07 +0200 Subject: [PATCH] Add GitHub Actions CI for pytest suite Runs uv sync + pytest tests/ on push/PR to main, deselecting slow tests by default per pyproject markers config. --- .github/workflows/tests.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..fa91c45 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,27 @@ +name: Tests + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + pytest: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install uv + uses: astral-sh/setup-uv@v3 + with: + enable-cache: true + + - name: Set up Python + run: uv python install 3.13 + + - name: Install dependencies + run: uv sync --frozen + + - name: Run pytest + run: uv run pytest tests/