From dc2cd929fe90c116c9f5a2cc05ee28b4b5b30531 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Wed, 11 Dec 2024 21:50:43 +0000 Subject: [PATCH] Fixing coveralls --- .github/workflows/test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 75c228c..b340c47 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,6 +41,16 @@ jobs: - name: install coveralls run: pip install coveralls + - name: Generate coverage + run: coverage run -m unittest discover -s tests + + - name: Upload coverage data to coveralls.io + run: coveralls --service=github + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COVERALLS_FLAG_NAME: ${{ matrix.python-version }} + COVERALLS_PARALLEL: true + Coveralls: needs: build runs-on: ubuntu-latest