Skip to content

Commit

Permalink
removed PhantomJS from the gh workflows after migrating tests to shin…
Browse files Browse the repository at this point in the history
…ytest2
  • Loading branch information
pydemull committed Dec 28, 2023
1 parent 4197929 commit 867970e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,6 @@ jobs:
with:
extra-packages: any::rcmdcheck

- name: Find PhantomJS path
id: phantomjs
run: |
echo "path=$(Rscript -e 'cat(shinytest:::phantom_paths()[[1]])')" >> $GITHUB_PATH
- name: Cache PhantomJS
uses: actions/cache@v3
with:
path: $GITHUB_PATH
key: ${{ matrix.config.os }}-phantomjs
restore-keys: ${{ matrix.config.os }}-phantomjs

- name: Install PhantomJS
run: >
Rscript
-e "if (!shinytest::dependenciesInstalled()) shinytest::installDependencies()"
- uses: r-lib/actions/check-r-package@v2

- name: Show testthat output
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,6 @@ jobs:
extra-packages: any::covr
needs: coverage

- name: Find PhantomJS path
id: phantomjs
run: |
echo "path=$(Rscript -e 'cat(shinytest:::phantom_paths()[[1]])')" >> $GITHUB_PATH
- name: Cache PhantomJS
uses: actions/cache@v2
with:
path: $GITHUB_PATH
key: ${{ matrix.config.os }}-phantomjs
restore-keys: ${{ matrix.config.os }}-phantomjs

- name: Install PhantomJS
run: >
Rscript
-e "if (!shinytest::dependenciesInstalled()) shinytest::installDependencies()"
- name: Test coverage
run: covr::codecov(quiet = FALSE, clean = FALSE)
shell: Rscript {0}
Expand Down

0 comments on commit 867970e

Please sign in to comment.