-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
35 additions
and
23 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 |
---|---|---|
|
@@ -27,11 +27,15 @@ jobs: | |
node-version: ${{ matrix.node-version }} | ||
- run: npm install | ||
- run: npm run compile | ||
- name: Run headless test | ||
if: matrix.os != 'ubuntu-latest' # we need to fix ubuntu-latest first | ||
uses: smithki/[email protected] | ||
with: | ||
run: npm run test-with-coverage:e2e | ||
|
||
# we need to test for windows > 1.85.1, current version breaks | ||
# node 18.18.2 & vscode 1.84.2 works | ||
# - name: Run headless test | ||
# if: matrix.os == 'windows-latest' | ||
# uses: coactions/setup-xvfb@v1 | ||
# with: | ||
# run: npm run test-with-coverage:e2e | ||
|
||
- name: Unit Tests | ||
run: npm run test-with-coverage:unit | ||
- name: Update server coverage badge | ||
|
@@ -41,13 +45,15 @@ jobs: | |
files: ./server/coverage/coverage-final.json | ||
verbose: true | ||
flags: lsp-ide-server | ||
- name: Update client coverage badge | ||
uses: codecov/codecov-action@v3 | ||
if: matrix.os == 'windows-latest' | ||
with: | ||
files: ./client/coverage/coverage-final.json | ||
verbose: true | ||
flags: lsp-ide-client | ||
|
||
# - name: Update client coverage badge | ||
# uses: codecov/codecov-action@v3 | ||
# if: matrix.os == 'windows-latest' | ||
# with: | ||
# files: ./client/coverage/coverage-final.json | ||
# verbose: true | ||
# flags: lsp-ide-client | ||
|
||
- name: Generate VSIX file | ||
if: matrix.os == 'ubuntu-latest' && github.ref == 'refs/heads/master' | ||
run: | | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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