Skip to content

Commit

Permalink
Override test-cov for ddev
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentClarret committed Sep 7, 2023
1 parent acb1f14 commit 3e35436
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions datadog_checks_dev/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ matrix.python.features = [
]
matrix.python.scripts = [
{ key = "test", value = "_dd-test --ignore tests/tooling", if = ["2.7"] },
{ key = "test-cov", value = "_dd-test-cov --ignore tests/tooling", if = ["2.7"] },
]
# TODO: remove this when the old CLI is gone
matrix.python.pre-install-commands = [
Expand Down
1 change: 1 addition & 0 deletions datadog_checks_downloader/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ python = ["3.9"]
[envs.default.overrides]
matrix.python.scripts = [
{ key = "test", value = "_dd-test --capture=no --log-cli-level=debug" },
{ key = "test-cov", value = "_dd-test-cov --capture=no --log-cli-level=debug" },
]

[envs.default]
Expand Down
4 changes: 4 additions & 0 deletions ddev/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

* Add color output to tests in CI ([#15774](https://github.com/DataDog/integrations-core/pull/15774))

***Fixed***:

* Fix the datadog_checks_dev tests ([#15779](https://github.com/DataDog/integrations-core/pull/15779))

## 5.0.0 / 2023-09-06

***Removed***:
Expand Down
1 change: 1 addition & 0 deletions teamcity/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ matrix.impl.env-vars = [
]
matrix.python.scripts = [
{ key = "test", value = "_dd-test --ignore=tests/docker" },
{ key = "test-cov", value = "_dd-test-cov --ignore=tests/docker" },
]

[envs.default.env-vars]
Expand Down
1 change: 1 addition & 0 deletions win32_event_log/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ platforms = [
[envs.default.overrides]
matrix.python.scripts = [
{ key = "test", value = "pytest -v --benchmark-skip tests/legacy", if = ["2.7"] },
{ key = "test-cov", value = "pytest -v --benchmark-skip tests/legacy", if = ["2.7"] },
]

0 comments on commit 3e35436

Please sign in to comment.