Skip to content

Commit

Permalink
Update test-coverage.yaml
Browse files Browse the repository at this point in the history
Updated covr workflow
  • Loading branch information
mvankessel-EMC authored May 24, 2024
1 parent 3cee07c commit 0be6a14
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [master, rc]
branches: [master]
pull_request:
branches: [master, rc]
branches: [master]

name: test-coverage

Expand Down Expand Up @@ -43,7 +43,9 @@ jobs:
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
shell: bash

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
- name: Upload test results
if: failure()
uses: actions/upload-artifact@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: coverage-test-failures
path: ${{ runner.temp }}/package

0 comments on commit 0be6a14

Please sign in to comment.