This is an example repository that showcases using Cypress GitHub Actions with Currents.dev.
The example workflow config file:
-
runs 3 containers with cypress tests in parallel
-
installs
@currents/cli
npm package as a separate step -
uses Custom Test Command to run
currents
for recording test results and parallelization with Currents.dev -
Note: set the
projectId
incypress.json
(you can obtain the project id from Currents.dev in Project Settings) -
Note: use CLI arguments to customize your cypress runs, e.g.:
currents run --parallel --record --key <your currents.dev key> --group groupA
-
Note: create an organization, get your record key on Currents.dev and set GH secret variable
CURRENTS_RECORD_KEY
Here's an example of how the demo workflow appears in Currents dashboard: