Skip to content

Commit

Permalink
ci(integration): Match py-shinylive assets version in Quarto integr…
Browse files Browse the repository at this point in the history
…ation test
  • Loading branch information
gadenbuie committed Jul 1, 2024
1 parent 14f21df commit 418061d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ jobs:
python -m pip install --upgrade pip
- name: Install py-shinylive
id: py-shinylive
shell: bash
run: |
pip install shinylive
# pip install https://github.com/posit-dev/py-shinylive/archive/split_api.zip
shinylive assets version >> "$GITHUB_OUTPUT"
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
Expand Down Expand Up @@ -124,10 +126,14 @@ jobs:
shinylive::assets_ensure()
testthat::test_local()
# If this (^^) completes, it is a big success!
# Run quarto test after testthat test
- name: Test shinylive quarto extension can build
uses: quarto-dev/quarto-actions/render@v2
env:
# Test r-shinylive against the same shinylive assets as py-shinylive
SHINYLIVE_ASSETS_VERSION: ${{ steps.py-shinylive.outputs.version }}
with:
path: local/quarto/

Expand Down

0 comments on commit 418061d

Please sign in to comment.