Skip to content

Commit

Permalink
Fix test-coverage example on Windows
Browse files Browse the repository at this point in the history
Need to normalize covr install path backslashes.
  • Loading branch information
gaborcsardi committed Oct 11, 2023
1 parent 8a4bf72 commit 4e3e721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
covr::codecov(
quiet = FALSE,
clean = FALSE,
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package")
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
)
shell: Rscript {0}

Expand Down

0 comments on commit 4e3e721

Please sign in to comment.