-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11526 from microsoft/main
Merge for 1.18.0
- Loading branch information
Showing
284 changed files
with
68,682 additions
and
52,853 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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 |
---|---|---|
@@ -1,47 +1,14 @@ | ||
name: CI (Linux) | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js 16 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: Install Dependencies | ||
run: yarn install | ||
working-directory: Extension | ||
|
||
- name: Compile Sources | ||
run: yarn run compile | ||
working-directory: Extension | ||
|
||
- name: Run Linter | ||
run: yarn run lint | ||
working-directory: Extension | ||
|
||
- name: Compile Test Sources | ||
run: yarn run pretest | ||
working-directory: Extension | ||
|
||
- name: Run unit tests | ||
uses: GabrielBB/[email protected] | ||
with: | ||
run: yarn run unitTests | ||
working-directory: Extension | ||
|
||
# - name: Run languageServer integration tests | ||
# uses: GabrielBB/[email protected] | ||
# with: | ||
# run: yarn run integrationTests | ||
# working-directory: Extension | ||
name: CI (Linux) | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
job: | ||
uses: ./.github/workflows/job-compile-and-test.yml | ||
with: | ||
runner-env: ubuntu-22.04 | ||
platform: linux |
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 |
---|---|---|
@@ -1,47 +1,15 @@ | ||
name: CI (Mac) | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js 16 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: Install Dependencies | ||
run: yarn install --network-timeout 100000 | ||
working-directory: Extension | ||
|
||
- name: Compile Sources | ||
run: yarn run compile | ||
working-directory: Extension | ||
|
||
- name: Run Linter | ||
run: yarn run lint | ||
working-directory: Extension | ||
|
||
- name: Compile Test Sources | ||
run: yarn run pretest | ||
working-directory: Extension | ||
|
||
- name: Run unit tests | ||
uses: GabrielBB/[email protected] | ||
with: | ||
run: yarn run unitTests | ||
working-directory: Extension | ||
|
||
# - name: Run languageServer integration tests | ||
# uses: GabrielBB/[email protected] | ||
# with: | ||
# run: yarn run integrationTests | ||
# working-directory: Extension | ||
name: CI (Mac) | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
job: | ||
uses: ./.github/workflows/job-compile-and-test.yml | ||
with: | ||
runner-env: macos-12 | ||
platform: mac | ||
yarn-args: --network-timeout 100000 |
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 |
---|---|---|
@@ -1,43 +1,14 @@ | ||
name: CI (Windows) | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js 16 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: Install Dependencies | ||
run: yarn install | ||
working-directory: Extension | ||
|
||
- name: Compile Sources | ||
run: yarn run compile | ||
working-directory: Extension | ||
|
||
- name: Run Linter | ||
run: yarn run lint | ||
working-directory: Extension | ||
|
||
- name: Compile Test Sources | ||
run: yarn run pretest | ||
working-directory: Extension | ||
|
||
- name: Run unit tests | ||
run: yarn run unitTests | ||
working-directory: Extension | ||
|
||
# - name: Run languageServer integration tests | ||
# run: yarn run integrationTests | ||
# working-directory: Extension | ||
name: CI (Windows) | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
job: | ||
uses: ./.github/workflows/job-compile-and-test.yml | ||
with: | ||
runner-env: windows-2022 | ||
platform: windows |
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 |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Reuable workflow for compiling and testing extension. | ||
name: Compile and test extension | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
runner-env: | ||
required: true | ||
type: string | ||
platform: | ||
# Expects 'mac', 'linux', or 'windows' | ||
required: true | ||
type: string | ||
yarn-args: | ||
type: string | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ inputs.runner-env }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js 16 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: Install Dependencies | ||
run: yarn install ${{ inputs.yarn-args }} | ||
working-directory: Extension | ||
|
||
- name: Compile Sources | ||
run: yarn run compile | ||
working-directory: Extension | ||
|
||
- name: Run Linter | ||
run: yarn run lint | ||
working-directory: Extension | ||
|
||
- name: Run unit tests | ||
run: yarn test | ||
working-directory: Extension | ||
|
||
# NOTE : We can't run the test that require the native binary files | ||
# yet -- there will be an update soon that allows the tester to | ||
# acquire them on-the-fly | ||
# - name: Run languageServer integration tests | ||
# if: ${{ inputs.platform == 'windows' }} | ||
# run: yarn test --scenario=SingleRootProject | ||
# working-directory: Extension | ||
|
||
# - name: Run E2E IntelliSense features tests | ||
# if: ${{ inputs.platform == 'windows' }} | ||
# run: yarn test --scenario=MultirootDeadlockTest | ||
# working-directory: Extension | ||
|
||
# NOTE: For mac/linux run the tests with xvfb-action for UI support. | ||
# Another way to start xvfb https://github.com/microsoft/vscode-test/blob/master/sample/azure-pipelines.yml | ||
|
||
# - name: Run languageServer integration tests (xvfb) | ||
# if: ${{ inputs.platform == 'mac' || inputs.platform == 'linux' }} | ||
# uses: coactions/setup-xvfb@v1 | ||
# with: | ||
# run: yarn test --scenario=SingleRootProject | ||
# working-directory: Extension | ||
|
||
# - name: Run E2E IntelliSense features tests (xvfb) | ||
# if: ${{ inputs.platform == 'mac' || inputs.platform == 'linux' }} | ||
# uses: coactions/setup-xvfb@v1 | ||
# with: | ||
# run: yarn test --scenario=MultirootDeadlockTest | ||
# working-directory: Extension |
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
*.js | ||
test/**/index.ts | ||
test/**/runTest.ts | ||
tools/prepublish.js | ||
|
||
dist/ | ||
vscode*.d.ts |
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
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 |
---|---|---|
|
@@ -34,3 +34,4 @@ localized_string_ids.h | |
src/nativeStrings.ts | ||
|
||
vscode*.d.ts | ||
.scripts/_* |
Oops, something went wrong.