From 4cf507bbc0622229f692f019ee07e677d01967b6 Mon Sep 17 00:00:00 2001 From: Florent Clarret Date: Thu, 7 Sep 2023 17:55:59 +0200 Subject: [PATCH] test dcd --- datadog_checks_dev/hatch.toml | 4 ---- datadog_checks_dev/setup.cfg | 6 ++++++ teamcity/setup.cfg | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 datadog_checks_dev/setup.cfg diff --git a/datadog_checks_dev/hatch.toml b/datadog_checks_dev/hatch.toml index dc26c3f42da475..6c98ac90271ef8 100644 --- a/datadog_checks_dev/hatch.toml +++ b/datadog_checks_dev/hatch.toml @@ -21,10 +21,6 @@ python = ["2.7", "3.9"] matrix.python.features = [ { value = "cli", if = ["3.9"] }, ] -matrix.python.scripts = [ - { key = "test", value = "_dd-test --ignore tests/tooling tests", if = ["2.7"] }, - { key = "test-cov", value = "_dd-test-cov --ignore tests/tooling tests", if = ["2.7"] }, -] # TODO: remove this when the old CLI is gone matrix.python.pre-install-commands = [ { value = "python -m pip install --no-deps --disable-pip-version-check {verbosity:flag:-1} -e ../ddev", if = ["3.9"] }, diff --git a/datadog_checks_dev/setup.cfg b/datadog_checks_dev/setup.cfg new file mode 100644 index 00000000000000..9af164ee8e2707 --- /dev/null +++ b/datadog_checks_dev/setup.cfg @@ -0,0 +1,6 @@ +# (C) Datadog, Inc. 2023-present +# All rights reserved +# Licensed under a 3-clause BSD style license (see LICENSE) +[tool:pytest] +addopts = "--ignore=tests/tooling" +testpaths = tests \ No newline at end of file diff --git a/teamcity/setup.cfg b/teamcity/setup.cfg index 267a7bcf8c8e20..210557caca1aba 100644 --- a/teamcity/setup.cfg +++ b/teamcity/setup.cfg @@ -2,4 +2,4 @@ # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) [tool:pytest] -addopts = --ignore=tests/docker +addopts = "--ignore=tests/docker"