Skip to content

Commit

Permalink
give an example of hiding GH summary for #340
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Dec 13, 2024
1 parent 130e43a commit 4e89bdc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,16 @@ $ npx cypress run --env splitFile=timings.json,splitOutputFile=output.json

To skip GitHub Actions summary, set an environment variable `SPLIT_SUMMARY=false`. By default, this plugin generates the summary.

```yml
- name: No GH Action summary output
uses: cypress-io/github-action@v6
env:
SPLIT: 2
SPLIT_INDEX: 1
# do not write summary to github
SPLIT_SUMMARY: false
```
## Split component specs
Works the same way as splitting E2E specs. Add this plugin to the `setupNodeEvents` callback in the `component` object in the config. See [cypress.config.js](./cypress.config.js) for example:
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"devDependencies": {
"ava": "^6.1.0",
"cypress": "^13.3.0",
"cypress": "^13.16.0",
"prettier": "^3.0.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
Expand Down

0 comments on commit 4e89bdc

Please sign in to comment.