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'