File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 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
+
3
4
on :
4
5
push :
5
6
branches : [main, master]
6
7
pull_request :
7
8
branches : [main, master]
8
9
9
- name : test-coverage
10
-
11
10
jobs :
12
11
test-coverage :
13
12
runs-on : ubuntu-latest
14
13
env :
15
14
GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
16
15
17
16
steps :
18
- - uses : actions/checkout@v3
17
+ - uses : actions/checkout@v4
19
18
20
19
- uses : r-lib/actions/setup-r@v2
21
20
with :
25
24
with :
26
25
extra-packages : any::covr
27
26
needs : coverage
27
+ # Optional: enable caching
28
+ # cache-version: 1
28
29
29
30
- name : Test coverage
30
31
run : |
38
39
- name : Show testthat output
39
40
if : always()
40
41
run : |
41
- ## --------------------------------------------------------------------
42
- find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
42
+ find "${{ runner.temp }}/package" -name 'testthat.Rout*' -exec cat '{}' \; || true
43
43
shell : bash
44
44
45
45
- name : Upload test results
You can’t perform that action at this time.
0 commit comments