From d68022f284e3f15d371beccf4a3132543bb160e8 Mon Sep 17 00:00:00 2001 From: Koji Wakamiya Date: Wed, 23 Sep 2026 14:11:13 +0900 Subject: [PATCH] ci: run as many e2e files as the runner has processors dart test runs half the processors' worth of files at once by default. The e2e files spend their time in flutter test subprocesses, so the e2e step asks for one per processor. Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/workflows/analyze.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index b0a4e8d..b5fa960 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -74,4 +74,6 @@ jobs: - run: flutter analyze working-directory: example - run: dart pub get - - run: dart test -P e2e + # Each e2e file spends its time in flutter test subprocesses; run as + # many files as the runner has processors, not the default half. + - run: dart test -P e2e -j "$(nproc)"