mirror of
https://github.com/discourse/discourse.git
synced 2025-01-16 06:42:41 +08:00
DEV: Run one system test process per CPU core (#30484)
We are running on self hosted runners with more CPU and RAM so we should be able to run one system test process per CPU core for more speedz. This may lead to some instability in our system tests but it is hard to say unless we roll this change out. If it does lead to system tests being more unstable, we can easily roll back the change.
This commit is contained in:
parent
cad56e2a21
commit
a78028e54e
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -72,7 +72,7 @@ jobs:
|
|||
- name: Set PARALLEL_TEST_PROCESSORS for system tests
|
||||
if: matrix.build_type == 'system'
|
||||
run: |
|
||||
echo "PARALLEL_TEST_PROCESSORS=$(($(nproc) / 2))" >> $GITHUB_ENV
|
||||
echo "PARALLEL_TEST_PROCESSORS=$(nproc)" >> $GITHUB_ENV
|
||||
|
||||
- name: Set QUNIT_PARALLEL for QUnit tests
|
||||
if: matrix.build_type == 'frontend'
|
||||
|
|
Loading…
Reference in New Issue
Block a user