Skip to content

Commit

Permalink
fix yaml syntax errors take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
cjrace committed Mar 27, 2024
1 parent 9d38427 commit 683d7e6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/automatedTests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,40 @@ jobs:

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-renv@v2
with:
profile: '"shiny"'
- uses: r-lib/actions/setup-renv@v2
with:
profile: '"shiny"'

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

- name: Install PhantomJS
shell: Rscript {0}
run: |
options(install.packages.check.source = "no")
if (!shinytest::dependenciesInstalled()) shinytest::installDependencies()
- name: Run tests
shell: Rscript {0}
run: |
shiny::runTests(".", assert = TRUE)
- name: Upload test results
if: failure()
uses: actions/upload-artifact@master
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deployShinyApps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
with:
use-public-rspm: true

- uses: r-lib/actions/setup-renv@v2
with:
profile: '"shiny"'
with:
profile: '"shiny"'

- name: Install rsconnect
shell: Rscript {0}
Expand Down

0 comments on commit 683d7e6

Please sign in to comment.