Skip to content

Commit

Permalink
GHA: take 6 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikBengtsson committed Oct 27, 2024
1 parent 66e978a commit 26254c2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Assert CODECOV_TOKEN is set
run: |
if [[ -n "${{secrets.CODECOV_TOKEN}}" ]]; then
>&2 echo "ERROR: 'secrets.CODECOV_TOKEN' not set"
exit 1
fi
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
Expand All @@ -24,7 +31,6 @@ jobs:

- name: Test coverage
run: |
str(list(token="${{secrets.CODECOV_TOKEN}}"))
cov <- covr::package_coverage(
quiet = FALSE,
clean = FALSE,
Expand Down

0 comments on commit 26254c2

Please sign in to comment.