Conversation
Let's make a workflow that can test the vscode extension with pre-release versions of the Quarto CLI! This is motivated by: - Creating a test to catch regressions like: #944 - Work towards making it easier to use this repo as an effective end-to-end test of Quarto
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
juliasilge
reviewed
May 6, 2026
Collaborator
juliasilge
left a comment
There was a problem hiding this comment.
How about instead of a separate action, we make a matrix on the existing action? Something like this:
jobs:
test-extension:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
quarto: [release, pre-release]
name: Test (Quarto ${{ matrix.quarto }})
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
- name: Update build environment and install XVFB
run: |
sudo apt-get -y update
sudo apt-get -y install --fix-missing xvfb
- uses: quarto-dev/quarto-actions/setup@v2
with:
version: ${{ matrix.quarto }}
- name: Build vscode extension
run: |
yarn install
yarn run build-vscode
- name: Compile and run tests
run: |
yarn install --immutable --immutable-cache --check-cache
xvfb-run yarn test-vscode
Member
Author
|
Oh! That would be awesome @juliasilge, I didn't know that github actions had an actual matrix feature |
Co-authored-by: Julia Silge <julia.silge@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Let's make a workflow that can test the vscode extension with pre-release versions of the Quarto CLI!
This is motivated by: