<!-- Generated from ci-cd.mdx. DO NOT EDIT. -->
TestDriver integrates with the common CI providers. It lets you do automated end-to-end tests on each push and pull request.
Authentication
On GitHub Actions, use OIDC through the published testdriverai/action. Then
there is no TD_API_KEY secret to store, copy, or change. The action shows that the
workflow runs in your org. TestDriver changes that proof for your
team's key at run time. See the GitHub Actions tab below.
For other CI providers (or self-hosted runners without OIDC), use a
stored API key from console.testdriver.ai/settings.
Add it as a TD_API_KEY secret in the settings of your CI provider.
<Note>
Never commit your API key in the code. Always use OIDC or the secrets management of your CI provider.
</Note>
CI Provider Examples
<Tabs>
<Tab title="GitHub Actions">
### Authenticate with OIDC via testdriverai/action (recommended)