Changed location of covr installation
This commit is contained in:
parent
0e01845876
commit
a9c7211465
1 changed files with 4 additions and 2 deletions
6
.github/workflows/r.yml
vendored
6
.github/workflows/r.yml
vendored
|
|
@ -48,7 +48,7 @@ jobs:
|
||||||
# Querying dependencies ---------------------------------- #
|
# Querying dependencies ---------------------------------- #
|
||||||
- name: Querying dependencies
|
- name: Querying dependencies
|
||||||
run: |
|
run: |
|
||||||
install.packages(c("remotes", "covr"))
|
install.packages("remotes")
|
||||||
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
|
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
|
||||||
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version")
|
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version")
|
||||||
shell: Rscript {0}
|
shell: Rscript {0}
|
||||||
|
|
@ -91,7 +91,9 @@ jobs:
|
||||||
|
|
||||||
# Checking unit test coverage ---------------------------- #
|
# Checking unit test coverage ---------------------------- #
|
||||||
- name: Checking unit test coverage
|
- name: Checking unit test coverage
|
||||||
run: covr::codecov()
|
run: |
|
||||||
|
install.packages("covr")
|
||||||
|
covr::codecov()
|
||||||
shell: Rscript {0}
|
shell: Rscript {0}
|
||||||
|
|
||||||
# Uploading check results -------------------------------- #
|
# Uploading check results -------------------------------- #
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue