Skip to content

ci: run dart and android tests in parallel#737

Open
kikoso wants to merge 1 commit into
googlemaps:mainfrom
kikoso:ci/parallel-test-execution
Open

ci: run dart and android tests in parallel#737
kikoso wants to merge 1 commit into
googlemaps:mainfrom
kikoso:ci/parallel-test-execution

Conversation

@kikoso

@kikoso kikoso commented Jun 26, 2026

Copy link
Copy Markdown

Summary

Optimize GitHub Actions workflow by running Dart and Android unit tests concurrently using the new GitHub Actions parallel keyword feature.

Changes

  • Combine test-dart and test-android jobs into a single test-dart-and-android job
  • Use the new parallel keyword to run both test suites concurrently within the same job
  • Update build job dependencies to reference the new combined test job
  • Reduces job setup overhead by eliminating duplicate setup steps

Benefits

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 parallel keyword 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

  • test-dart job
  • test-android job (both in parallel, but with duplicated setup overhead)

After

  • test-dart-and-android job with parallel steps (single setup, concurrent tests)

…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants