justice40-tool icon indicating copy to clipboard operation
justice40-tool copied to clipboard

Modify staging GHA to run cypress in parallel

Open vim-usds opened this issue 3 years ago • 3 comments

closes #789

vim-usds avatar Oct 15 '21 00:10 vim-usds



Test summary

43 0 0 0


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

cypress[bot] avatar Oct 15 '21 02:10 cypress[bot]

🚢 PR Deployed! 🚢
Find it here: http://usds-geoplatform-justice40-website.s3-website-us-east-1.amazonaws.com/justice40-tool/800-61f86d0/en/cejst/ !

github-actions[bot] avatar Oct 15 '21 02:10 github-actions[bot]

Some of the things to think about here:

  1. Parallelization seems to reduce GHA action execution time by ~20%
  2. Cypress dashboard has been integrated and required for parallelization
  3. 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.
  4. Need to find the right balance of parallelized tests (limit of 500/mo) and local tests (unlimited)

vim-usds avatar Oct 15 '21 16:10 vim-usds