diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 91a7e34..75cdaae 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -41,7 +41,8 @@ jobs: - name: Create Junit Report if: always() run: | - testthat::test_local(reporter = testthat::JunitReporter$new("./junit.xml")) + test_out <- path.expand(file.path(getwd(), "junit.xml")) + testthat::test_local(reporter = testthat::JunitReporter$new(test_out)) shell: Rscript {0} - name: Upload test results to Codecov