Cypress - GitHub Actions
Using GitHub Actions Matrix for parallelizing Cypress tests
Last updated
Using GitHub Actions Matrix for parallelizing Cypress tests
Last updated
By using , you can create multiple containers that will run Cypress tests in parallel. Currents orchestrates the tests between multiple containers, applying intelligent optimizations to reduce the overall runtime of your workflow, and records screenshots and videos for later troubleshooting.
runs 3 containers with cypress tests in parallel
Note: install cypress-cloud/plugin
in cypress.config.js
Note: use CLI arguments to customize your cypress runs, e.g.: cypress-cloud run --parallel --record --key <your currents.dev key> --group groupA
Here's an example of how the demo workflow appears in Currents dashboard
Please take a look at the that showcases running cypress tests in parallel using GitHub Actions.
The example :
uses to run cypress-cloud
for recording test results and parallelization with
Note: set the projectId
in currents.config.js
(you can obtain the project id from in Project Settings)
Note: create an organization, get your record key on and set variable CURRENTS_RECORD_KEY