justice40-tool
justice40-tool copied to clipboard
Modify staging GHA to run cypress in parallel
closes #789
Test summary
Run details
Project | J40 |
Status | Passed |
Commit | 61f86d0b14 ℹ️ |
Started | Oct 15, 2021 2:11 AM |
Ended | Oct 15, 2021 2:13 AM |
Duration | 02:23 💡 |
OS | Linux Debian - 10.9 |
Browser | Chrome 88 ![]() |
View run in Cypress Dashboard ➡️
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard
🚢 PR Deployed! 🚢
Find it here: http://usds-geoplatform-justice40-website.s3-website-us-east-1.amazonaws.com/justice40-tool/800-61f86d0/en/cejst/ !
Some of the things to think about here:
- Parallelization seems to reduce GHA action execution time by ~20%
- Cypress dashboard has been integrated and required for parallelization
- Currently we have 43 tests. This is just for Chrome. Adding firefox would double this to 86, adding a mobile test would multiply by 3 to 129. The cypress dashboard (Free tier) allows for 500 tests per month.
- Need to find the right balance of parallelized tests (limit of 500/mo) and local tests (unlimited)