Skip to content

Commit 86d13cb

Browse files
committed
Add new tests to CI matrix; exclude meta-tests from collected-once check
1 parent fbd452c commit 86d13cb

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,14 @@ jobs:
113113
- tests/mock_vws/test_update_target.py::TestWidth
114114
- tests/mock_vws/test_update_target.py::TestInactiveProject
115115
- tests/mock_vws/test_requests_mock_usage.py
116+
- tests/mock_vws/test_respx_mock_usage.py
117+
- tests/mock_vws/test_target_validators.py
116118
- tests/mock_vws/test_flask_app_usage.py
117119
- tests/mock_vws/test_vumark_generation_api.py
118120
- tests/mock_vws/test_docker.py
119121
- README.rst
120122
- docs/source/basic-example.rst
123+
- docs/source/httpx-example.rst
121124

122125
steps:
123126
- uses: actions/checkout@v6

ci/test_custom_linters.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ def test_tests_collected_once(
111111
ci_pattern=".",
112112
repository_root=repository_root,
113113
)
114+
# Exclude this file's own meta-tests from the comparison: they are
115+
# not part of any CI pattern by design (they validate the patterns).
116+
all_tests = {t for t in all_tests if not t.startswith("ci/")}
114117
assert tests_to_patterns.keys() - all_tests == set()
115118
assert all_tests - tests_to_patterns.keys() == set()
116119

0 commit comments

Comments
 (0)