Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
run: uv run ruff check

test:
needs: [ lint ]
name: Test (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -64,4 +65,41 @@ jobs:
with:
name: coverage-report
path: coverage.xml

tests-e2e:
needs: [ lint ]
name: Test e2e (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v6

- name: Install uv
uses: astral-sh/setup-uv@v7

- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}

- name: Install dependencies
run: uv sync --all-extras --group dev

- name: Run e2e tests with coverage
run: |
uv run pytest tests-e2e/ \
--color=yes \
--cov=src/stuntdouble \
--cov-report=term \
--cov-report=xml:coverage-e2e.xml \
--cov-fail-under=22 \
-v

- name: Upload coverage
if: matrix.python-version == '3.13'
uses: actions/upload-artifact@v7
with:
name: coverage-e2e-report
path: coverage-e2e.xml

3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:
- name: Install deps
run: uv sync --group dev

- name: Run tests before release
run: uv run pytest tests/

- name: Read version from pyproject.toml
id: version
run: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "stuntdouble"
version = "2.1.1"
version = "2.1.2"
description = "Tool mocking framework for AI agent testing"
requires-python = ">= 3.12"
license = "MIT"
Expand Down
Loading