Skip to content

Commit 1ac5fbc

Browse files
committed
GHA: use uncovr::codecov()
[ci skip]
1 parent 1b44e92 commit 1ac5fbc

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/test-coverage.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,7 @@ jobs:
4747
- name: Test coverage
4848
run: |
4949
uncovr::test()
50-
uncovr::lcov(output = "lcov.info")
50+
uncovr::codecov()
5151
shell: Rscript {0}
52-
53-
- uses: codecov/codecov-action@v5
54-
with:
55-
# Fail if error if not on PR, or if on PR and token is given
56-
fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
57-
files: ./lcov.info
58-
plugins: noop
59-
disable_search: true
60-
token: ${{ secrets.CODECOV_TOKEN }}
52+
env:
53+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)