Skip to content

Commit

Permalink
Merge pull request #595 from remlapmot/2025-02-lintr-fixes
Browse files Browse the repository at this point in the history
Maintenance
  • Loading branch information
remlapmot authored Feb 24, 2025
2 parents 2244af0 + eab9b06 commit 55f00ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
4 changes: 2 additions & 2 deletions .lintr
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 55f00ff

Please sign in to comment.