GitHub Action Setup
Last updated
Was this helpful?
Last updated
Was this helpful?
TestDriver Cloud Testing is performed via . You can learn more by visiting the marketplace page.
In order to execute your TestDriver actions on our VMs you'll need to add your API key as a GitHub secret. If you don't see an API key, you'll need ot upgrade your account.
Now it's time to create your first TestDriver workflow.
In .github/workflows/testdriver.yml
add the following code.
See Action Output for output definitions and code samples.
The GitHub action is triggered via the conditions supplied via on
The key
value is used to authenticate you
An ephemeral virtual machine is spawn on our infrastructure
The code from the current branch will be cloned on to the VM
prompt
is parsed as a markdown list.
Each list item from promp
is fed into TestDriver one by one
TestDriver summarizes the test and sets it's exit code depending on it's pass or failed state
The VM is destroyed and all data is wiped
Save the file, make a new branch, push to your repository, and create a new pull request.
This will trigger a new TestDriver execution.
Log in the team page in and .
Paste the API key as a named TESTDRIVER_API_KEY
begins recording
If supplied, the
ends recording