Skip to content

Commit

Permalink
Fix code coverage action (libsemigroups#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
reiniscirpons authored May 2, 2024
1 parent 90b794e commit 0d35fe2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
github_checks:
annotations: false

coverage:
github_checks:
annotations: false
precision: 2
round: down
range: "90...100"
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,15 @@ jobs:
sudo ln -sf /usr/bin/gcov-9 /usr/bin/gcov
export GCOV=/usr/bin/gcov-9
etc/test-code-coverage.sh test_all "[quick]"
bash <(curl -s https://codecov.io/bash)
- name: "Uploading to Codecov . . ."
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
file: coverage.info
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
- name: "Cleanup . . ."
run: |
rm -f coverage.info
distcheck:
timeout-minutes: 15
Expand Down

0 comments on commit 0d35fe2

Please sign in to comment.