Skip to content

Commit 6f6fd3f

Browse files
committed
update test coverage
1 parent 6950a37 commit 6f6fd3f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/test-coverage.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2-
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
1+
# .github/workflows/test-coverage.yml
2+
name: test-coverage
3+
34
on:
45
push:
56
branches: [main, master]
67
pull_request:
78
branches: [main, master]
89

9-
name: test-coverage
10-
1110
jobs:
1211
test-coverage:
1312
runs-on: ubuntu-latest
1413
env:
1514
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1615

1716
steps:
18-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1918

2019
- uses: r-lib/actions/setup-r@v2
2120
with:
@@ -25,6 +24,8 @@ jobs:
2524
with:
2625
extra-packages: any::covr
2726
needs: coverage
27+
# Optional: enable caching
28+
# cache-version: 1
2829

2930
- name: Test coverage
3031
run: |
@@ -38,8 +39,7 @@ jobs:
3839
- name: Show testthat output
3940
if: always()
4041
run: |
41-
## --------------------------------------------------------------------
42-
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
42+
find "${{ runner.temp }}/package" -name 'testthat.Rout*' -exec cat '{}' \; || true
4343
shell: bash
4444

4545
- name: Upload test results

0 commit comments

Comments
 (0)