Skip to content

Commit 9be3ccd

Browse files
authored
Fix integration tests scheduled run and agent host (#453)
1 parent 0d9290b commit 9be3ccd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/test_integration.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ jobs:
1515
test_integration:
1616
runs-on: ubuntu-latest
1717
if: >
18+
(github.event_name == 'pull_request' &&
1819
github.event.pull_request.draft == false &&
1920
!contains(github.event.pull_request.labels.*.name, 'ci/skip') &&
2021
!contains(github.event.pull_request.head.ref, 'datadog-api-spec/test/') &&
21-
contains(github.event.pull_request.labels.*.name, 'ci/integrations')
22+
contains(github.event.pull_request.labels.*.name, 'ci/integrations')) ||
23+
github.event_name == 'schedule'
2224
services:
2325
datadog-agent:
2426
image: datadog/agent:latest
@@ -41,7 +43,7 @@ jobs:
4143
shell: bash
4244
env:
4345
CI: "true"
44-
DD_AGENT_HOST: datadog-agent
46+
DD_AGENT_HOST: localhost
4547
DD_ENV: prod
4648
DD_SERVICE: datadog-api-client-python
4749
DD_TAGS: "team:integration-tools-and-libraries"

0 commit comments

Comments
 (0)