File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 41
41
- name : Create Junit Report
42
42
if : always()
43
43
run : |
44
- testthat::test_local(reporter = testthat::JunitReporter$new("./junit.xml"))
44
+ test_out <- path.expand(file.path(getwd(), "junit.xml"))
45
+ testthat::test_local(reporter = testthat::JunitReporter$new(test_out))
45
46
shell : Rscript {0}
46
47
47
48
- name : Upload test results to Codecov
@@ -54,12 +55,12 @@ jobs:
54
55
token : ${{ secrets.CODECOV_TOKEN }}
55
56
56
57
- name : Upload coverage report
57
- uses : codecov/codecov-action@v4
58
+ uses : codecov/codecov-action@v5
58
59
with :
59
60
# Fail if error if not on PR, or if on PR and token is given
60
61
fail_ci_if_error : ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
61
- file : ./cobertura.xml
62
- plugin : noop
62
+ files : ./cobertura.xml
63
+ plugins : noop
63
64
disable_search : true
64
65
token : ${{ secrets.CODECOV_TOKEN }}
65
66
You can’t perform that action at this time.
0 commit comments