From 83acd8b80a503d8d063fe11e90189036b232d91d Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Wed, 11 Sep 2024 11:39:26 +0200 Subject: [PATCH] DEV: Change qunit_parallel to 2 for frontend themes (#28842) This seems to mitigate the flaky timeouts we've been seeing recently, while not affecting the speed in any meaningful way. --- .github/workflows/tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b8bbee06707..c920a99c8ee 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -76,7 +76,11 @@ jobs: - name: Set QUNIT_PARALLEL for QUnit tests if: matrix.build_type == 'frontend' run: | - echo "QUNIT_PARALLEL=$(($(nproc) / 2))" >> $GITHUB_ENV + if [ "${{ matrix.target }}" = "themes" ]; then + echo "QUNIT_PARALLEL=2" >> $GITHUB_ENV + else + echo "QUNIT_PARALLEL=$(($(nproc) / 2))" >> $GITHUB_ENV + fi - uses: actions/checkout@v4 with: