File tree Expand file tree Collapse file tree 3 files changed +55
-53
lines changed Expand file tree Collapse file tree 3 files changed +55
-53
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- master
7
7
8
+ concurrency :
9
+ group : unit-${{ github.head_ref }}
10
+ cancel-in-progress : true
11
+
8
12
jobs :
9
13
pre-commit :
10
14
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change
1
+ name : Run Integration Tests
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - master
7
+ schedule :
8
+ - cron : " 0 4 * * *"
9
+
10
+ concurrency :
11
+ group : integration-${{ github.head_ref }}
12
+ cancel-in-progress : true
13
+
14
+ jobs :
15
+ test :
16
+ runs-on : ubuntu-latest
17
+ if : >
18
+ (github.event_name == 'pull_request' &&
19
+ github.event.pull_request.draft == false &&
20
+ !contains(github.event.pull_request.labels.*.name, 'ci/skip') &&
21
+ !contains(github.event.pull_request.head.ref, 'datadog-api-spec/test/') &&
22
+ contains(github.event.pull_request.labels.*.name, 'ci/integrations')) ||
23
+ github.event_name == 'schedule'
24
+ services :
25
+ datadog-agent :
26
+ image : datadog/agent:latest
27
+ ports :
28
+ - 8126:8126
29
+ env :
30
+ DD_API_KEY : ${{ secrets.DD_API_KEY }}
31
+ DD_HOSTNAME : " none"
32
+ DD_INSIDE_CI : " true"
33
+ steps :
34
+ - uses : actions/checkout@v2
35
+ - name : Set up Node 14
36
+ uses : actions/setup-node@v2
37
+ with :
38
+ node-version : 14
39
+ - name : Run integration tests
40
+ run : ./run-tests.sh
41
+ shell : bash
42
+ env :
43
+ CI : " true"
44
+ DD_AGENT_HOST : localhost
45
+ DD_ENV : prod
46
+ DD_SERVICE : datadog-api-client-typescript
47
+ DD_TAGS : " team:integration-tools-and-libraries"
48
+ DD_TEST_CLIENT_API_KEY : ${{ secrets.DD_CLIENT_API_KEY }}
49
+ DD_TEST_CLIENT_APP_KEY : ${{ secrets.DD_CLIENT_APP_KEY }}
50
+ DD_TRACE_ANALYTICS_ENABLED : " true"
51
+ RECORD : " none"
You can’t perform that action at this time.
0 commit comments