From 3237689323258c3f55e79ae701e1d1ba6bde3cd8 Mon Sep 17 00:00:00 2001 From: "Diego H." Date: Mon, 2 Dec 2024 10:27:01 +0100 Subject: [PATCH] Upgrade codecov --- .github/workflows/test-coverage.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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