Skip to content

Commit da4f3c6

Browse files
committed
ci: Reduce test parallelism
This commit updates the CI workflow to reduce the number of subsets for running twister tests from 5 to 2 because: 1. There is a lot of overhead in setting up the test environment compared to the actual test run time (e.g. it takes 10 minutes for set-up and 5 minutes for test run per subset in case of Linux). 2. Windows, the slowest platform, runner has been updated to a more powerful 8-core machine. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
1 parent fe02433 commit da4f3c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,10 +1240,10 @@ jobs:
12401240
fail-fast: false
12411241
matrix:
12421242
testenv: ${{ fromJSON(needs.setup.outputs.testenvs) }}
1243-
subset: [ 1, 2, 3, 4, 5 ]
1243+
subset: [ 1, 2 ]
12441244

12451245
env:
1246-
SUBSET_COUNT: 5
1246+
SUBSET_COUNT: 2
12471247
PYTHON_DEPS: https://raw.githubusercontent.com/zephyrproject-rtos/zephyr/main/scripts/requirements.txt
12481248
ZEPHYR_TOOLCHAIN_VARIANT: zephyr
12491249

0 commit comments

Comments
 (0)