-
Notifications
You must be signed in to change notification settings - Fork 101
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
fix: Run all sub-project tests in test_pack_doc.yml
workflow
#1382
Conversation
…on`, which is a more standard way of aggregating test reports across all sub-projects. Use this opportunity to consolidate a bunch of test options into the root project for consistent configuration.
…ble test execution.
✅ Rule acceptance tests passed. |
✅ Rule acceptance tests passed. |
…s will also help some tests pass on Windows environments.
✅ Rule acceptance tests passed. |
✅ Rule acceptance tests passed. |
…ityData#1382) * Upgrade to Gradle 7.4 so that we can use the new `testReportAggregation`, which is a more standard way of aggregating test reports across all sub-projects. Use this opportunity to consolidate a bunch of test options into the root project for consistent configuration. * Comment tweak. * Restore code to make sure `copyRulesMarkdown` runs before test execution. * Make sure affected sources are in consistent sorted order for repeatable test execution. * Disable UI tests in headless environments. * Fix failing test on Windows due to line separators. * Attempt MobilityData#2 to test correctly under Windows. * Consolidate Java compile options for consistency across projects. This will also help some tests pass on Windows environments. * Get another test passing on Windows.
As noted in #1381, the
test_pack_doc.yml
is not currently running all of the project's unit-tests, which is problematic if we want to be sure new PRs aren't introducing test breakages.To address the issue, this PR does the following:
testAggregateTestReport
support. We do this in a way where all sub-projects are automatically added for report aggregation. Previously, each project had to be hand-configured, which caused us to miss a number of new projects as they were added (includingoutput-comparator
, per the bug).build.gradle
files and specify it once in the root project.gradle test
to make sure you didn't break anything