You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+22
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,7 @@
42
42
-[timeouts](#timeouts) to avoid hanging CI jobs
43
43
-[print Cypress info](#print-cypress-info) like detected browsers
44
44
-[run tests nightly](#nightly-tests) or on any schedule
45
+
-[Suppress test summary](#suppress-test-summary)
45
46
-[more examples](#more-examples)
46
47
47
48
Current examples contained in this repository are based on Cypress 12.x and can be found in the [examples](./examples) directory. Examples for [Legacy Configuration](https://on.cypress.io/guides/references/legacy-configuration) use Cypress `9.7.0` and are kept in the [examples/v9](./examples/v9) directory.
@@ -1347,6 +1348,27 @@ See the [example-cron.yml](./.github/workflows/example-cron.yml) workflow.
The default test summary can be suppressed by using the parameter `publish-summary` and setting its value to `false`.
1354
+
Sometimes users want to publish test summary using a specific action.
1355
+
For example, a user running Cypress tests using a matrix and wants to retrieve the test summary for each matrix job and use a specific action that merges reports.
1356
+
1357
+
```yml
1358
+
name: Example no summary
1359
+
on: push
1360
+
jobs:
1361
+
cypress-run:
1362
+
runs-on: ubuntu-22.04
1363
+
steps:
1364
+
- name: Checkout
1365
+
uses: actions/checkout@v3
1366
+
- name: Cypress run
1367
+
uses: cypress-io/github-action@v5
1368
+
with:
1369
+
publish-summary: false
1370
+
```
1371
+
1350
1372
## Changelog
1351
1373
1352
1374
See [Releases](https://github.com/cypress-io/github-action/releases) for full details of changes.
0 commit comments