Skip to content

Commit

Permalink
debug: Only run failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
  • Loading branch information
jjerphan committed Feb 5, 2025
1 parent c34de5e commit a9a2828
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unix_impl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ jobs:
export TEST_MAMBA_EXE=$(pwd)/build/micromamba/mamba
unset CONDARC # Interferes with tests
# Only rerun flaky tests on the `main` branch
python -m pytest micromamba/tests/ \
${{ runner.debug == 'true' && '-v --capture=tee-sys' || '--exitfirst' }} \
python -m pytest "micromamba/tests/test_create.py::test_target_prefix[False-None-False-False-False-True-False-False-cli-True]" -vvvl \
${{ runner.debug == 'true' && '--capture=tee-sys' || '--exitfirst' }} \
${{ github.ref == 'refs/heads/main' && '--reruns 3' || '' }}
verify_pkg_tests:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows_impl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,4 @@ 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/test_create.py::test_target_prefix[False-None-False-False-False-True-False-False-cli-True]" -vvvl ${{ runner.debug == 'true' && '-v --capture=tee-sys' || '--exitfirst' }} ${{ github.ref == 'refs/heads/main' && '--reruns 3' || '' }}

0 comments on commit a9a2828

Please sign in to comment.