Skip to content

Commit 0739bc5

Browse files
Override the default test options for some integrations
1 parent c758504 commit 0739bc5

File tree

7 files changed

+10
-5
lines changed

7 files changed

+10
-5
lines changed

.github/workflows/pr-all.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
paths:
88
- datadog_checks_base/datadog_checks/**
99
- datadog_checks_dev/datadog_checks/dev/*.py
10+
- ddev/src/**
1011
- "!datadog_checks_base/datadog_checks/base/data/agent_requirements.in"
1112

1213
concurrency:

datadog_checks_dev/hatch.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ matrix.python.features = [
2323
]
2424
matrix.python.scripts = [
2525
{ key = "test", value = "_dd-test --ignore tests/tooling", if = ["2.7"] },
26+
{ key = "test-cov", value = "_dd-test-cov --ignore tests/tooling", if = ["2.7"] },
2627
]
2728
# TODO: remove this when the old CLI is gone
2829
matrix.python.pre-install-commands = [

datadog_checks_downloader/hatch.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33
[[envs.default.matrix]]
44
python = ["3.9"]
55

6-
[envs.default.overrides]
7-
matrix.python.scripts = [
8-
{ key = "test", value = "_dd-test --capture=no --log-cli-level=debug" },
9-
]
10-
116
[envs.default]
127
e2e-env = false
138
dependencies = [

datadog_checks_downloader/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@ include = [
6161
dev-mode-dirs = [
6262
".",
6363
]
64+
65+
[tool.pytest.ini_options]
66+
addopts = "--capture=no --log-cli-level=debug"

teamcity/hatch.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ matrix.impl.env-vars = [
1414
]
1515
matrix.python.scripts = [
1616
{ key = "test", value = "_dd-test --ignore=tests/docker" },
17+
{ key = "test-cov", value = "_dd-test-cov --ignore=tests/docker" },
1718
]
1819

1920
[envs.default.env-vars]

teamcity/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,6 @@ include = [
6060
dev-mode-dirs = [
6161
".",
6262
]
63+
64+
[tool.pytest.ini_options]
65+
addopts = "--ignore=tests/docker"

win32_event_log/hatch.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ platforms = [
1212
[envs.default.overrides]
1313
matrix.python.scripts = [
1414
{ key = "test", value = "pytest -v --benchmark-skip tests/legacy", if = ["2.7"] },
15+
{ key = "test-cov", value = "pytest -v --benchmark-skip tests/legacy", if = ["2.7"] },
1516
]

0 commit comments

Comments
 (0)