-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
CI: correct test selection propagation for service-specific tests and run them conditionally #12749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Test Results - Alternative Providers987 tests 589 ✅ 30m 19s ⏱️ Results for commit 8263423. ♻️ This comment has been updated with latest results. |
Test Results (MA/MR) - Alternative Providers987 tests 589 ✅ 30m 34s ⏱️ Results for commit 8263423. ♻️ This comment has been updated with latest results. |
Test Results (amd64) - Integration, Bootstrap 5 files ± 0 5 suites ±0 2h 22m 34s ⏱️ + 2m 13s Results for commit 73f835e. ± Comparison against base commit 3bbf944. ♻️ This comment has been updated with latest results. |
Test Results (amd64, MA/MR) - Integration, Bootstrap 5 files ± 0 5 suites ±0 2h 22m 50s ⏱️ +24s Results for commit 73f835e. ± Comparison against base commit 3bbf944. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a question regarding what happens if you try for example to do a change only in one service, which would "conflict" with the hardcoded TEST_PATH
given in the specific job? Do we have any way to test for this?
For example, a change in a service with no dependencies like acm
, which would only have the tests/aws/services/acm/test_acm.py
in the test selection, against the CloudWatch job with TEST_PATH: "tests/aws/services/events/"
?
Maybe another PR targeting this branch, with only a small change in some services, to see what happens in those alternative providers job? Do you think we could try that?
edit: also, thanks so much for jumping on this 🙏
edit2: the above was a different issue about splitting in CircleCI, and if no tests are detected, it probably won't fail but just continue along? sorry 😅
Motivation
This PR addresses two current issues with test selections, specifically:
Changes
TESTSELECTION_PYTEST_ARGS
toPYTEST_ARGS
for provider specific testsTesting