Skip to content

Commit 8a531ff

Browse files
committed
Run tests in CI pipelines
1 parent 08be403 commit 8a531ff

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.azure-pipelines/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ jobs:
4545
parameters:
4646
version: 0.19.3
4747
- template: steps/grammar-bundle/-create.yml
48+
- template: steps/grammar-bundle/-test.yml

.azure-pipelines/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
version: 0.19.3
4444
- template: steps/grammar-bundle/-create.yml
4545
- template: steps/grammar-bundle/-save.yml
46+
- template: steps/grammar-bundle/-test.yml
4647

4748
- job: Publish
4849
dependsOn: Build
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
steps:
2+
- powershell: |
3+
cask install
4+
.\script\test.ps1
5+
displayName: Run tests (Windows)
6+
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
7+
8+
- bash: |
9+
set -e
10+
cask install
11+
script/test
12+
displayName: Run tests
13+
condition: and(succeeded(), ne(variables['Agent.OS'], 'Windows_NT'))

0 commit comments

Comments
 (0)