fix: Run all sub-project tests in test_pack_doc.yml workflow#1382
fix: Run all sub-project tests in test_pack_doc.yml workflow#1382bdferris-v2 merged 10 commits intomasterfrom
test_pack_doc.yml workflow#1382Conversation
…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.ymlis 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:
testAggregateTestReportsupport. 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.gradlefiles and specify it once in the root project.gradle testto make sure you didn't break anything