Skip to content

Commit f83426e

Browse files
committed
Attempt to fix failing test github workflow by running test after package-extension
1 parent 324935b commit f83426e

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

.github/workflows/build.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,23 @@ jobs:
4343
with:
4444
name: quarto-vscode-${{ github.sha }}
4545
path: ${{ steps.package_extension.outputs.vsixPath }}
46+
47+
test-extension:
48+
runs-on: ubuntu-latest
49+
needs: package-extension
50+
steps:
51+
- uses: actions/checkout@v4
52+
53+
- uses: actions/setup-node@v4
54+
with:
55+
node-version: latest
56+
57+
- name: Update build environment and install XVFB
58+
run: |
59+
sudo apt-get -y update
60+
sudo apt-get -y install --fix-missing xvfb
61+
62+
- name: Compile and run tests
63+
run: |
64+
yarn install --immutable --immutable-cache --check-cache
65+
xvfb-run yarn test-vscode

.github/workflows/test.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,3 @@ on:
1111
workflow_dispatch:
1212

1313
jobs:
14-
test-extension:
15-
runs-on: ubuntu-latest
16-
steps:
17-
- uses: actions/checkout@v4
18-
19-
- uses: actions/setup-node@v4
20-
with:
21-
node-version: latest
22-
23-
- name: Update build environment and install XVFB
24-
run: |
25-
sudo apt-get -y update
26-
sudo apt-get -y install --fix-missing xvfb
27-
28-
- name: Compile and run tests
29-
run: |
30-
yarn install --immutable --immutable-cache --check-cache
31-
xvfb-run yarn test-vscode

0 commit comments

Comments
 (0)