GitHub Actions
Running tests with Currents in GitHub Actions
Start with Quick Start for a workflow that records to Currents, then add what your setup needs from the articles below.
Setup
Quick Start - a workflow that records tests to Currents, and how to parallelize it.
Commit data for GitHub Actions get the correct commit, branch and pull request on a run.
Custom Docker runners - the environment variables to pass when the job runs in your own container.
Named Runners - show which runner executed each spec file.
Re-runs
Re-run Only Failed Tests - re-run only the tests that failed, for sharded and orchestrated runs.
Custom CI Build ID for Re-runs - when your workflow sets its own CI build ID.
Cancellation
Cancel Runs on Workflow Cancellation - cancel the Currents run when the workflow is cancelled, so it does not sit in progress until the run timeout.
Examples
The currents-examples repository has complete workflows for sharding, orchestration, re-runs and visual testing.
Last updated
Was this helpful?