@@ -48,162 +48,6 @@ jobs:
4848 env :
4949 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5050 if : always()
51- standard-reports-test :
52- needs : build-and-test
53- runs-on : ubuntu-latest
54- steps :
55- - name : Checkout code
56- uses : actions/checkout@v4
57- - name : Basic Test Report
58- uses : ./
59- with :
60- report-path : ' ./ctrf-reports/ctrf-report.json'
61- summary-report : true
62- annotate : false
63- if : always()
64- github-report-test :
65- needs : build-and-test
66- runs-on : ubuntu-latest
67- steps :
68- - name : Checkout code
69- uses : actions/checkout@v4
70- - name : Detailed Test Report
71- uses : ./
72- with :
73- report-path : ' ./ctrf-reports/ctrf-report.json'
74- github-report : true
75- annotate : false
76- env :
77- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
78- if : always()
79- detailed-reports-test :
80- needs : build-and-test
81- runs-on : ubuntu-latest
82- steps :
83- - name : Checkout code
84- uses : actions/checkout@v4
85- - name : Detailed Test Report
86- uses : ./
87- with :
88- report-path : ' ./ctrf-reports/ctrf-report.json'
89- test-report : true
90- test-list-report : true
91- annotate : false
92- env :
93- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
94- if : always()
95- failed-reports-test :
96- needs : build-and-test
97- runs-on : ubuntu-latest
98- steps :
99- - name : Checkout code
100- uses : actions/checkout@v4
101- - name : Failed Test Reports
102- uses : ./
103- with :
104- report-path : ' ./ctrf-reports/ctrf-report.json'
105- failed-report : true
106- failed-folded-report : true
107- annotate : false
108- env :
109- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
110- if : always()
111- flaky-reports-test :
112- needs : build-and-test
113- runs-on : ubuntu-latest
114- steps :
115- - name : Checkout code
116- uses : actions/checkout@v4
117- - name : Flaky Test Reports
118- uses : ./
119- with :
120- report-path : ' ./ctrf-reports/ctrf-report.json'
121- flaky-report : true
122- annotate : false
123- env :
124- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
125- if : always()
126- ai-reports-test :
127- needs : build-and-test
128- runs-on : ubuntu-latest
129- steps :
130- - name : Checkout code
131- uses : actions/checkout@v4
132- - name : AI Test Reports
133- uses : ./
134- with :
135- report-path : ' ./ctrf-reports/ctrf-report.json'
136- ai-report : true
137- annotate : false
138- if : always()
139- skipped-reports-test :
140- needs : build-and-test
141- runs-on : ubuntu-latest
142- steps :
143- - name : Checkout code
144- uses : actions/checkout@v4
145- - name : Skipped Test Reports
146- uses : ./
147- with :
148- report-path : ' ./ctrf-reports/ctrf-report.json'
149- skipped-report : true
150- annotate : false
151- if : always()
152- suite-reports-test :
153- needs : build-and-test
154- runs-on : ubuntu-latest
155- steps :
156- - name : Checkout code
157- uses : actions/checkout@v4
158- - name : Suite Test Reports
159- uses : ./
160- with :
161- report-path : ' ./ctrf-reports/ctrf-report.json'
162- suite-list-report : true
163- suite-folded-report : true
164- annotate : false
165- if : always()
166- commit-reports-test :
167- needs : build-and-test
168- runs-on : ubuntu-latest
169- steps :
170- - name : Checkout code
171- uses : actions/checkout@v4
172- - name : Commit Test Reports
173- uses : ./
174- with :
175- report-path : ' ./ctrf-reports/ctrf-report.json'
176- commit-report : true
177- annotate : false
178- if : always()
179- custom-reports-test :
180- needs : build-and-test
181- runs-on : ubuntu-latest
182- steps :
183- - name : Checkout code
184- uses : actions/checkout@v4
185- - name : Custom Test Reports
186- uses : ./
187- with :
188- report-path : ' ./ctrf-reports/ctrf-report.json'
189- custom-report : true
190- template-path : ' ./templates/custom-report.hbs'
191- annotate : false
192- if : always()
193- community-reports-test :
194- needs : build-and-test
195- runs-on : ubuntu-latest
196- steps :
197- - name : Checkout code
198- uses : actions/checkout@v4
199- - name : Community Test Reports
200- uses : ./
201- with :
202- report-path : ' ./ctrf-reports/ctrf-report.json'
203- community-report : true
204- community-report-name : ' summary-short'
205- annotate : false
206- if : always()
20751 previous-reports-test :
20852 needs : build-and-test
20953 runs-on : ubuntu-latest
@@ -227,72 +71,3 @@ jobs:
22771 env :
22872 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22973 if : always()
230- report-order-test :
231- needs : build-and-test
232- runs-on : ubuntu-latest
233- steps :
234- - name : Checkout code
235- uses : actions/checkout@v4
236- - name : Install dependencies
237- run : npm install
238- - name : Modify reports
239- run : npm run modify-reports
240- - name : Custom Report Order
241- uses : ./
242- with :
243- report-path : ' ./ctrf-reports/*.json'
244- summary-report : true
245- failed-report : true
246- flaky-report : true
247- report-order : ' flaky-report,failed-report,summary-report'
248- annotate : false
249- env :
250- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
251- if : always()
252- junit-to-ctrf-test :
253- needs : build-and-test
254- runs-on : ubuntu-latest
255- steps :
256- - name : Checkout code
257- uses : actions/checkout@v4
258- - name : Install dependencies
259- run : npm install
260- - name : Modify reports
261- run : npm run modify-reports
262- - name : JUnit to CTRF integration test
263- uses : ./
264- with :
265- report-path : ' ./ctrf-reports/*.xml'
266- integrations-config : |
267- {
268- "junit-to-ctrf": {
269- "enabled": true,
270- "action": "convert",
271- "options": {
272- "output": "./ctrf-reports/ctrf-report.json",
273- "toolname": "junit-to-ctrf",
274- "useSuiteName": false,
275- "env": {
276- "appName": "my-app"
277- }
278- }
279- }
280- }
281- annotate : false
282- env :
283- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
284- if : always()
285- npx-cli-test :
286- runs-on : ubuntu-latest
287- needs : build-and-test
288- steps :
289- - name : Checkout code
290- uses : actions/checkout@v4
291- - name : Install dependencies
292- run : npm install
293- - name : Build
294- run : npm run build:npm
295- - name : Modify reports
296- run : npm run modify-reports
297- - name : Default tables
298- run : node dist/core/cli.js ctrf-reports/ctrf-report.json --title "Default tables" --annotate false
0 commit comments