Skip to content

Commit cedec43

Browse files
committed
ci: publish acceptance test results
1 parent 7ad6cd9 commit cedec43

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/wc-acceptance-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,13 @@ jobs:
8888
GITHUB_USER: ${{ secrets.TEST_GITHUB_USER }}
8989
GITHUB_PASSWORD: ${{ secrets.TEST_GITHUB_PASSWORD }}
9090
GITHUB_TOTP_SECRET: ${{ secrets.TEST_GITHUB_TOTP_SECRET }}
91+
PLAYWRIGHT_JUNIT_OUTPUT_NAME: test-report-acceptance-${{ inputs.flavor }}.xml
9192
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
9293
if: always()
9394
with:
94-
name: playwright-artifacts
95+
name: test-results-acceptance-${{ inputs.flavor }}
9596
path: |
97+
test-report-*.xml
9698
test-results/
9799
retention-days: 10
98100
- run: |

.github/workflows/wc-integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ jobs:
6262
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6363
if: always()
6464
with:
65-
name: test-results-${{ inputs.flavor }}-${{ inputs.runner }}
65+
name: test-results-integration-${{ inputs.flavor }}-${{ inputs.runner }}
6666
path: test-report-*.xml

test/cpp/features/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default defineConfig({
1717
forbidOnly: !!process.env.CI,
1818
retries: process.env.CI ? 2 : 0,
1919
workers: 1,
20-
reporter: 'list',
20+
reporter: process.env.CI ? 'junit' : 'list',
2121
use: {
2222
trace: 'on-first-retry'
2323
},

0 commit comments

Comments
 (0)