Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 44ab63b

Browse files
javascript-datadog-synthetics.yml [V1]
Version 1 of the JavaScript Datadog synthetics workflow file for this project.
1 parent 7107f87 commit 44ab63b

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This workflow will trigger Datadog Synthetic tests within your Datadog organisation
2+
# For more information on running Synthetic tests within your GitHub workflows see: https://docs.datadoghq.com/synthetics/cicd_integrations/github_actions/
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
# To get started:
10+
11+
# 1. Add your Datadog API (DD_API_KEY) and Application Key (DD_APP_KEY) as secrets to your GitHub repository. For more information, see: https://docs.datadoghq.com/account_management/api-app-keys/.
12+
# 2. Start using the action within your workflow
13+
14+
name: Run Datadog Synthetic tests
15+
16+
on:
17+
push:
18+
branches: [ "main" ]
19+
pull_request:
20+
branches: [ "main" ]
21+
22+
jobs:
23+
build:
24+
runs-on: ubuntu-latest
25+
26+
steps:
27+
- uses: actions/checkout@v2
28+
29+
# Run Synthetic tests within your GitHub workflow.
30+
# For additional configuration options visit the action within the marketplace: https://github.com/marketplace/actions/datadog-synthetics-ci
31+
- name: Run Datadog Synthetic tests
32+
uses: DataDog/synthetics-ci-github-action@2b56dc0cca9daa14ab69c0d1d6844296de8f941e
33+
with:
34+
api_key: ${{secrets.DD_API_KEY}}
35+
app_key: ${{secrets.DD_APP_KEY}}
36+
test_search_query: 'tag:e2e-tests' #Modify this tag to suit your tagging strategy
37+
38+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /