-
-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: test the generated .vsix file. (#2838)
- Loading branch information
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,4 +53,48 @@ jobs: | |
env: | ||
VSCODE_VERSION: ${{ matrix.vscode-version }} | ||
run: npm run test-client-integration | ||
|
||
run-integration-tests-vsix: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
node-version: | ||
- ${{ vars.DEFAULT_NODE_VERSION }} | ||
vscode-version: [stable] | ||
|
||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Node.js | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: npm | ||
|
||
- name: Install | ||
run: | | ||
npm i | ||
- name: Build .vsix file | ||
run: npm run test-vsce-build | ||
|
||
- name: Build files for testing | ||
run: npm run build | ||
|
||
- name: Run Linux | ||
if: runner.os == 'Linux' | ||
env: | ||
VSCODE_VERSION: ${{ matrix.vscode-version }} | ||
VSIX_LOCATION: ./temp/code-spell-checker.vsix | ||
run: xvfb-run -a npm run test-client-integration | ||
|
||
- name: Run Windows and MacOS | ||
if: runner.os != 'Linux' | ||
env: | ||
VSCODE_VERSION: ${{ matrix.vscode-version }} | ||
VSIX_LOCATION: ./temp/code-spell-checker.vsix | ||
run: npm run test-client-integration | ||
# cspell:ignore xvfb |
This file contains 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