Skip to content

Commit

Permalink
Switch to chromote for Github actions
Browse files Browse the repository at this point in the history
Switch from firefox to chromote for Github actions
  • Loading branch information
siddhesh195 committed Jun 13, 2024
1 parent e90f655 commit 9ef4993
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: digest, RJSONIO, gtable, plyr, reshape2, scales, knitr
extra-packages: digest, RJSONIO, gtable, plyr, reshape2, scales, knitr, chromote


- name: install package
Expand Down
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ Suggests:
nlme,
rpart,
svglite,
ggplot2
ggplot2,
chromote
Remotes: ropensci/[email protected]
License: GPL-3
Encoding: UTF-8
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ if(filter == ""){
}
message(gh.action)
if(FALSE){
tests_init("chrome")
}else if(interactive() | (gh.action == "ENABLED")) {
tests_init("firefox")
}else if(interactive() | (gh.action == "ENABLED")) {
tests_init("chromote")
} else {
tests_init()
}
Expand Down

0 comments on commit 9ef4993

Please sign in to comment.