Skip to content

Commit

Permalink
ci: switch win64 fun tests back to powershell
Browse files Browse the repository at this point in the history
When env var TEST_RUNNER_EXTRA was empty it was still being passed to test runner as an empty arguemnt which would then try and run a test with an empty name.
  • Loading branch information
m3dwards committed Mar 6, 2024
1 parent 115c283 commit c4c907c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,5 +290,6 @@ 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 --jobs %NUMBER_OF_PROCESSORS% --ci --quiet --tmpdirprefix=%RUNNER_TEMP% --combinedlogslen=99999999 --timeout-factor=%TEST_RUNNER_TIMEOUT_FACTOR% %TEST_RUNNER_EXTRA%
run: |
$command = "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)"
Invoke-Expression $command

0 comments on commit c4c907c

Please sign in to comment.