Skip to content

Commit 15bcff8

Browse files
committed
chore: 🤖 upload test summary for e2e tests too
1 parent 4d65f47 commit 15bcff8

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

‎.github/workflows/monorepo-validate.yaml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,12 @@ jobs:
7575
cache-dependency-path: '**/pnpm-lock.yaml'
7676
- run: pnpm install --offline
7777
- run: pnpm test
78-
- name: Test summary
78+
- name: Generate test summary
7979
if: always()
8080
uses: ctrf-io/github-test-reporter@v1
8181
with:
8282
report-path: "**/test-reports/junit.xml"
8383
github-report: true
84-
suite-folded-report: true
8584
integrations-config: |
8685
{
8786
"junit-to-ctrf": {

‎.github/workflows/test-e2e-desktop.yaml‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,28 @@ jobs:
100100
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
101101
pnpm run desktop
102102
103+
- name: Generate test summary
104+
if: always()
105+
uses: ctrf-io/github-test-reporter@v1
106+
with:
107+
report-path: "**/test-reports/junit.xml"
108+
github-report: true
109+
integrations-config: |
110+
{
111+
"junit-to-ctrf": {
112+
"enabled": true,
113+
"action": "convert",
114+
"options": {
115+
"output": "./ctrf-reports/ctrf-report.json",
116+
"toolname": "junit-to-ctrf",
117+
"useSuiteName": false,
118+
"env": {
119+
"appName": "my-app"
120+
}
121+
}
122+
}
123+
}
124+
103125
- name: Upload Playwright report
104126
if: ${{ failure() }}
105127
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2

0 commit comments

Comments
 (0)