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.
This commit is contained in:
Jarek Radosz 2024-09-11 11:39:26 +02:00 committed by GitHub
parent e87d0addf7
commit 83acd8b80a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -76,7 +76,11 @@ jobs:
- name: Set QUNIT_PARALLEL for QUnit tests
if: matrix.build_type == 'frontend'
run: |
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: