[Windows] Write command in multiple lines (#3794)

This commit is contained in:
Hind-M 2025-02-05 14:27:22 +01:00 committed by GitHub
parent c34de5e488
commit 27010d1acb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 2 deletions

View File

@ -117,7 +117,9 @@ jobs:
- name: Run libmamba Python bindings tests
run: |
# Only rerun flaky tests on the `main` branch
python -m pytest libmambapy/tests/ ${{ runner.debug == 'true' && '-v --capture=tee-sys' || '--exitfirst' }} ${{ github.ref == 'refs/heads/main' && '--reruns 3' || '' }}
python -m pytest libmambapy/tests/ ^
${{ runner.debug == 'true' && '-v --capture=tee-sys' || '--exitfirst' }} ^
${{ github.ref == 'refs/heads/main' && '--reruns 3' || '' }}
mamba_integration_tests_win:
name: mamba integration tests
@ -151,4 +153,6 @@ jobs:
$env:MAMBA_TEST_SHELL_TYPE='powershell'
Remove-Item -Path "env:CONDARC"
# Only rerun flaky tests on the `main` branch
python -m pytest micromamba/tests/ ${{ runner.debug == 'true' && '-v --capture=tee-sys' || '--exitfirst' }} ${{ github.ref == 'refs/heads/main' && '--reruns 3' || '' }}
python -m pytest micromamba/tests/ `
${{ runner.debug == 'true' && '-v --capture=tee-sys' || '--exitfirst' }} `
${{ github.ref == 'refs/heads/main' && '--reruns 3' || '' }}