diff --git a/scripts/gen_circleci_config.py b/scripts/gen_circleci_config.py index 5cee0809c2c..768ebedff4a 100644 --- a/scripts/gen_circleci_config.py +++ b/scripts/gen_circleci_config.py @@ -77,7 +77,7 @@ def check(name: str, command: str, paths: t.Set[str]) -> None: check( name="Run scripts/*.py tests", command="hatch run scripts:test", - paths={"scripts/*.py"}, + paths={"scripts/*.py", "scripts/mkwheelhouse", "scripts/run-test-suite", "tests/.suitespec.json"}, ) check( name="Run conftest tests", diff --git a/tests/suitespec.py b/tests/suitespec.py index 480ce9efc38..ea59888c4cf 100644 --- a/tests/suitespec.py +++ b/tests/suitespec.py @@ -20,7 +20,8 @@ def get_patterns(suite: str) -> t.Set[str]: 'ddtrace/settings/dynamic_instrumentation.py', 'ddtrace/settings/exception_debugging.py', 'ddtrace/settings/http.py', 'ddtrace/settings/integration.py', 'ddtrace/span.py', 'ddtrace/tracer.py', 'ddtrace/tracing/*', 'ddtrace/version.py', 'hatch.toml', 'pyproject.toml', 'riotfile.py', 'scripts/ddtest', - 'setup.cfg', 'setup.py', 'tests/.suitespec.json', 'tests/__init__.py', 'tests/conftest.py', 'tests/debugging/*'] + 'scripts/run-test-suite', 'setup.cfg', 'setup.py', 'tests/.suitespec.json', 'tests/__init__.py', + 'tests/conftest.py', 'tests/debugging/*'] >>> get_patterns("foobar") set() >>> sorted(get_patterns("urllib3")) # doctest: +NORMALIZE_WHITESPACE @@ -33,9 +34,10 @@ def get_patterns(suite: str) -> t.Set[str]: 'ddtrace/py.typed', 'ddtrace/sampler.py', 'ddtrace/settings/__init__.py', 'ddtrace/settings/_database_monitoring.py', 'ddtrace/settings/config.py', 'ddtrace/settings/http.py', 'ddtrace/settings/integration.py', 'ddtrace/span.py', 'ddtrace/tracer.py', 'ddtrace/tracing/*', - 'ddtrace/version.py', 'hatch.toml', 'pyproject.toml', 'riotfile.py', 'scripts/ddtest', 'setup.cfg', 'setup.py', - 'tests/.suitespec.json', 'tests/__init__.py', 'tests/conftest.py', 'tests/contrib/__init__.py', - 'tests/contrib/patch.py', 'tests/contrib/urllib3/*', 'tests/snapshots/tests.contrib.urllib3.*'] + 'ddtrace/version.py', 'hatch.toml', 'pyproject.toml', 'riotfile.py', 'scripts/ddtest', 'scripts/run-test-suite', + 'setup.cfg', 'setup.py', 'tests/.suitespec.json', 'tests/__init__.py', 'tests/conftest.py', + 'tests/contrib/__init__.py', 'tests/contrib/patch.py', 'tests/contrib/urllib3/*', + 'tests/snapshots/tests.contrib.urllib3.*'] """ compos = SUITESPEC["components"] if suite not in SUITESPEC["suites"]: