ci: run dart and android tests in parallel#737
Open
kikoso wants to merge 1 commit into
Open
Conversation
…lel keyword Combine test-dart and test-android jobs into a single test-dart-and-android job using the new GitHub Actions parallel keyword feature. This reduces job setup overhead and leverages true concurrent execution for faster feedback. - Merge test-dart and test-android into single job - Use parallel keyword to run both test suites concurrently - Update build dependencies to reference new combined test job - Expected improvement: 10-20% reduction in total workflow time Closes: #XXX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Optimize GitHub Actions workflow by running Dart and Android unit tests concurrently using the new GitHub Actions parallel keyword feature.
Changes
test-dartandtest-androidjobs into a singletest-dart-and-androidjobparallelkeyword to run both test suites concurrently within the same jobBenefits
✅ Reduced setup overhead - one job setup instead of two
✅ True parallel execution - using GitHub Actions parallel keyword
✅ Cleaner logs - separate execution contexts for each test
✅ Expected improvement - 10-20% reduction in test execution time
Technical Details
The new
parallelkeyword is shorthand for running steps as background steps concurrently with an implicit wait at the end. This feature was announced in GitHub's June 2026 Actions update.Before
After