diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index a86396d0..ce4a8c94 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -43,15 +43,16 @@ jobs: clean = FALSE, install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package") ) + print(cov) covr::to_cobertura(cov) shell: Rscript {0} - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: # Fail if error if not on PR, or if on PR and token is given fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }} - file: ./cobertura.xml - plugin: noop + files: ./cobertura.xml + plugins: noop disable_search: true token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.lintr b/.lintr index 4f17fb0d..43db8b22 100644 --- a/.lintr +++ b/.lintr @@ -9,9 +9,9 @@ linters: linters_with_defaults( whitespace_linter = NULL, object_name_linter = NULL, assignment_linter = NULL, - cyclocomp_linter = NULL, object_usage_linter = NULL, spaces_left_parentheses_linter = NULL, - object_length_linter = NULL + object_length_linter = NULL, + return_linter = NULL ) encoding: "UTF-8"