mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
parent
e87d0addf7
commit
83acd8b80a
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -76,7 +76,11 @@ jobs:
|
|||||||
- name: Set QUNIT_PARALLEL for QUnit tests
|
- name: Set QUNIT_PARALLEL for QUnit tests
|
||||||
if: matrix.build_type == 'frontend'
|
if: matrix.build_type == 'frontend'
|
||||||
run: |
|
run: |
|
||||||
|
if [ "${{ matrix.target }}" = "themes" ]; then
|
||||||
|
echo "QUNIT_PARALLEL=2" >> $GITHUB_ENV
|
||||||
|
else
|
||||||
echo "QUNIT_PARALLEL=$(($(nproc) / 2))" >> $GITHUB_ENV
|
echo "QUNIT_PARALLEL=$(($(nproc) / 2))" >> $GITHUB_ENV
|
||||||
|
fi
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user