Skip to content

Commit 76f2b6c

Browse files
authored
Merge pull request networkit#1359 from fabratu/20251014_enable_coverage_pr
CI: Remove condition on coverage upload.
2 parents ff954f9 + 03d7be6 commit 76f2b6c

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -357,12 +357,11 @@ jobs:
357357
coverage run -m unittest discover -v networkit/test
358358
coverage report
359359
coveralls --merge=core_build/networkit_cpp.json --output=$COVERALLS_DUMP_FILE
360-
- name: Upload coverage
361-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
362-
run: |
363-
cd ${{ github.workspace }}
364-
. pyenv/bin/activate
365-
python3 ${{ github.workspace }}/.github/workflows/scripts/upload_coverage.py
360+
- name: Upload coverage to coveralls.io
361+
uses: coverallsapp/github-action@v2
362+
with:
363+
github-token: ${{ secrets.GITHUB_TOKEN }}
364+
file: ${{ env.COVERALLS_DUMP_FILE }}
366365

367366
linux-build-leak:
368367
name: "Linux (gcc-10): leak checks"

0 commit comments

Comments
 (0)