-
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.
CI workflows based on GitHub actions (#6312)
- Loading branch information
Showing
3 changed files
with
161 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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: CI (Linux) | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js 10.16.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.16.x | ||
|
||
- name: Install Dependencies | ||
run: yarn install | ||
working-directory: Extension | ||
|
||
- name: Generate hashes for runtime dependency packages | ||
run: yarn run generatePackageHashes | ||
working-directory: Extension | ||
|
||
- name: Compile Sources | ||
run: yarn run compile | ||
working-directory: Extension | ||
|
||
- name: Validate Extension/package.json | ||
run: yarn run pr-check | ||
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 |
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,55 @@ | ||
name: CI (Mac) | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js 10.16.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.16.x | ||
|
||
- name: Install Dependencies | ||
run: yarn install | ||
working-directory: Extension | ||
|
||
- name: Generate hashes for runtime dependency packages | ||
run: yarn run generatePackageHashes | ||
working-directory: Extension | ||
|
||
- name: Compile Sources | ||
run: yarn run compile | ||
working-directory: Extension | ||
|
||
- name: Validate Extension/package.json | ||
run: yarn run pr-check | ||
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 |
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,51 @@ | ||
name: CI (Windows) | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js 10.16.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.16.x | ||
|
||
- name: Install Dependencies | ||
run: yarn install | ||
working-directory: Extension | ||
|
||
- name: Generate hashes for runtime dependency packages | ||
run: yarn run generatePackageHashes | ||
working-directory: Extension | ||
|
||
- name: Compile Sources | ||
run: yarn run compile | ||
working-directory: Extension | ||
|
||
- name: Validate Extension/package.json | ||
run: yarn run pr-check | ||
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 |