aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-09-01 11:08:05 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-09-01 11:08:05 +0100
commit14e5de6d0253448f9b284f0705e4697b479a8677 (patch)
tree1a1205105ae85636cc3cba2409a6069c6cef38c1 /.github
parent5666966dffeb620b4a628679d667346e02fd3b19 (diff)
ci: Avoid oversubscription in functional tests on Windows
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bdeb691479..2dfe43053b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -264,5 +264,4 @@ jobs:
- name: Run functional tests
env:
TEST_RUNNER_EXTRA: ${{ github.event_name != 'pull_request' && '--extended' || '' }}
- shell: cmd
- run: py -3 test\functional\test_runner.py --ci --quiet --tmpdirprefix=%RUNNER_TEMP% --combinedlogslen=99999999 --timeout-factor=%TEST_RUNNER_TIMEOUT_FACTOR% %TEST_RUNNER_EXTRA%
+ run: py -3 test\functional\test_runner.py --jobs $env:NUMBER_OF_PROCESSORS --ci --quiet --tmpdirprefix=$env:RUNNER_TEMP --combinedlogslen=99999999 --timeout-factor=$env:TEST_RUNNER_TIMEOUT_FACTOR $env:TEST_RUNNER_EXTRA