From 826765cde816462a474e6c09ac208f3572ec12bc Mon Sep 17 00:00:00 2001 From: Arnav Sacheti <36746504+arnavsacheti@users.noreply.github.com> Date: Thu, 4 Dec 2025 22:27:19 -0800 Subject: [PATCH] Add Coverall Support (#28) Add Coveralls tracking for python 3.12 tests --- .github/workflows/test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ed90c13..9f1e139 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,6 +18,7 @@ jobs: image: verilator/verilator:latest permissions: contents: read + statuses: write strategy: matrix: python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] @@ -45,6 +46,15 @@ jobs: - name: Run tests run: uv run pytest tests/ --cov=peakrdl_busdecoder --cov-report=xml --cov-report=term + - name: Upload coverage to Coveralls + if: matrix.python-version == '3.12' + env: + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + uv pip install coveralls + uv run coveralls --service=github + - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 if: matrix.python-version == '3.12'