From d1c7e7655a5669db625af07c917bc8709b1098b6 Mon Sep 17 00:00:00 2001 From: Alex Shalaev Date: Sun, 6 Sep 2026 21:33:43 +0300 Subject: [PATCH] ci: measure coverage on the unit suite too --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35a535b..bbf7ba1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,14 @@ jobs: with: python-version: ${{ matrix.python-version }} - run: uv sync --group dev - - run: uv run pytest -m unit + - run: uv run pytest -m unit --cov=idempotency_kit --cov-report=xml + - uses: codecov/codecov-action@v7 + if: matrix.python-version == '3.13' + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: coverage.xml + flags: unit + continue-on-error: true test-integration: name: Integration tests @@ -47,6 +54,7 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + flags: integration continue-on-error: true # Sentinel job — use this as the single required status check in branch protection.