Skip to content

Commit b552117

Browse files
committed
[infra] Add test summaries to the build
1 parent a373589 commit b552117

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ jobs:
2626
- name: Run regular tests
2727
run: ./amper test --exclude-module=amper-mobile-test
2828

29+
- name: Test summary
30+
uses: test-summary/action@v2
31+
if: ${{ !cancelled() }} # run this step even if the previous step failed, but not if canceled
32+
with:
33+
paths: build/reports/**/TEST-*.xml
34+
2935
test-mobile:
3036
strategy:
3137
matrix:
@@ -57,3 +63,9 @@ jobs:
5763
5864
- name: Run mobile tests
5965
run: ./amper test -m amper-mobile-test ${{ matrix.testArgs }}
66+
67+
- name: Test summary
68+
uses: test-summary/action@v2
69+
if: ${{ !cancelled() }} # run this step even if the previous step failed, but not if canceled
70+
with:
71+
paths: build/reports/**/TEST-*.xml

0 commit comments

Comments
 (0)