mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 23:22:44 +08: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
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user