GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing docs.datadoghq.com — Continuous Testing and GitHub Actions For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/continuous_testing/cicd_integrations/github_actions.md.
A documentation index is available at /llms.txt.
Continuous Testing and GitHub ActionsOverviewTrigger Datadog Synthetic tests from your GitHub workflows. For more information on the available configuration, see the SetupTo get started:
Your workflow can be simple or complex. Simple workflowsExample workflow using public IDsExample workflow using an existing |
| Name | Description |
|---|---|
api-key | (Required) Your Datadog API key. This key is created in your Datadog organization and should be stored as a secret. |
app-key | (Required) Your Datadog application key. This key is created in your Datadog organization and should be stored as a secret. |
batch-timeout | Specifies the timeout duration in milliseconds for the CI batch. When a batch times out, the CI job fails and no new test runs are triggered, but ongoing test runs complete normally. Default: 1800000 (30 minutes) |
config-path | The path to the global configuration file that configures datadog-ci. Default: datadog-ci.json |
datadog-site | Your Datadog site. The possible values are listed in this table. Default: datadoghq.comSet it to (ensure the correct SITE is selected on the right). |
fail-on-critical-errors | Fail the CI job if a critical error that is typically transient occurs, such as rate limits, authentication failures, or Datadog infrastructure issues. Default: false |
fail-on-missing-tests | Fail the CI job if the list of tests to run is empty or if some explicitly listed tests are missing. Default: false |
fail-on-timeout | Fail the CI job if the CI batch fails as timed out. Default: true |
files | Glob patterns to detect Synthetic test configuration files, separated by new lines. Default: {,!(node_modules)/**/}*.synthetics.json |
junit-report | The filename for a JUnit report if you want to generate one. Default: none |
locations | Override the list of locations to run the test from, separated by new lines or commas. The possible values are listed in this API response. Default: none |
public-ids | Public IDs of Synthetic tests to run, separated by new lines or commas. If no value is provided, tests are discovered in Synthetic test configuration files. Default: none |
selective-rerun | Whether to only rerun failed tests. If a test has already passed for a given commit, it is not rerun in subsequent CI batches. By default, your organization’s default setting is used. Set it to false to force full runs when your configuration enables it by default.Default: none |
subdomain | The custom subdomain to access your Datadog organization. If your URL is myorg.datadoghq.com, the custom subdomain is myorg.Default: app |
test-search-query | Use a search query to select which Synthetic tests to run. Use the Synthetic Tests list page’s search bar to craft your query, then copy and paste it. Default: none |
tunnel | Use the Continuous Testing tunnel to launch tests against internal environments. Default: false |
variables | Override existing or inject new local and global variables in Synthetic tests as key-value pairs, separated by new lines or commas. For example: START_URL=https://example.org,MY_VARIABLE=My title.Default: none |
| Name | Description |
|---|---|
batch-url | The URL of the CI batch. |
critical-errors-count | The number of critical errors that occurred during the CI batch. |
failed-count | The number of results that failed during the CI batch. |
failed-non-blocking-count | The number of results that failed during the CI batch without blocking the CI. |
passed-count | The number of results that passed during the CI batch. |
previously-passed-count | The number of results that already passed in previous CI batches on the same commit. |
tests-not-found-count | The number of tests that could not be found when starting the CI batch. |
tests-skipped-count | The number of tests that were skipped when starting the CI batch. |
timed-out-count | The number of results that failed due to the CI batch timing out. |
raw-results | The synthetics.Result[] array, as a JSON-encoded string. |
See CONTRIBUTING.md
Additional helpful documentation, links, and articles: