1
- name : build
1
+ name : test
2
2
3
3
on :
4
4
pull_request :
5
5
push :
6
6
7
- permissions : write-all
8
-
9
7
jobs :
10
8
11
- build -windows-core :
9
+ test -windows-core :
12
10
runs-on : windows-latest
13
11
steps :
14
12
- name : Disable Windows Defender
@@ -26,13 +24,13 @@ jobs:
26
24
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
27
25
./build.cmd InTestsCore -e
28
26
- name : Upload test results
29
- uses : actions/upload-artifact@v2
27
+ uses : actions/upload-artifact@v3
30
28
if : always()
31
29
with :
32
- name : build -windows-core-trx
30
+ name : test -windows-core-trx
33
31
path : " **/*.trx"
34
32
35
- build -windows-full :
33
+ test -windows-full :
36
34
runs-on : windows-latest
37
35
steps :
38
36
- name : Disable Windows Defender
@@ -50,13 +48,13 @@ jobs:
50
48
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
51
49
./build.cmd InTestsFull -e
52
50
- name : Upload test results
53
- uses : actions/upload-artifact@v2
51
+ uses : actions/upload-artifact@v3
54
52
if : always()
55
53
with :
56
- name : build -windows-full-trx
54
+ name : test -windows-full-trx
57
55
path : " **/*.trx"
58
56
59
- build -linux :
57
+ test -linux :
60
58
runs-on : ubuntu-latest
61
59
steps :
62
60
- uses : actions/checkout@v3
@@ -74,13 +72,13 @@ jobs:
74
72
- name : Run task 'InTestsCore'
75
73
run : ./build.cmd InTestsCore -e
76
74
- name : Upload test results
77
- uses : actions/upload-artifact@v2
75
+ uses : actions/upload-artifact@v3
78
76
if : always()
79
77
with :
80
- name : build -linux-trx
78
+ name : test -linux-trx
81
79
path : " **/*.trx"
82
80
83
- build -macos :
81
+ test -macos :
84
82
runs-on : macos-13
85
83
steps :
86
84
- uses : actions/checkout@v3
@@ -91,28 +89,21 @@ jobs:
91
89
- name : Run task 'InTestsCore'
92
90
run : ./build.cmd InTestsCore -e
93
91
- name : Upload test results
94
- uses : actions/upload-artifact@v2
92
+ uses : actions/upload-artifact@v3
95
93
if : always()
96
94
with :
97
- name : build -macos-trx
95
+ name : test -macos-trx
98
96
path : " **/*.trx"
99
97
100
- report :
101
- concurrency : ci-${{ github.ref }}
102
- needs : [build-windows-full, build-windows-core, build-linux, build-macos]
98
+ docs-spellcheck :
103
99
runs-on : ubuntu-latest
104
- if : always()
105
100
steps :
106
101
- uses : actions/checkout@v3
107
- - name : Download Artifacts
108
- uses : actions/download-artifact@v3
109
- - name : Display structure of downloaded files
110
- run : ls -R
111
- - name : Report tests results
112
- uses : AndreyAkinshin/test-reporter@0e2c48ebec2007001dd77dd4bcbcd450b96d5a38
113
- if : always()
102
+ - uses : actions/setup-node@v1
103
+ name : Setup node
114
104
with :
115
- name : test-results
116
- path : " **/*.trx"
117
- reporter : dotnet-trx
118
- fail-on-error : true
105
+ node-version : " 16"
106
+ - run : npm install -g cspell
107
+ name : Install cSpell
108
+ - run : cspell --config ./cSpell.json "docs/**/*.md" --no-progress
109
+ name : Run cSpell
0 commit comments