Skip to content

Commit cc150bc

Browse files
committed
try propogate error
1 parent 33fdd89 commit cc150bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ jobs:
659659
- name: Run Powershell Tab Completion Tests
660660
run: |
661661
just test ./tests/verify_environment.py
662-
.venv\Scripts\activate.ps1; cmd /c "pytest --cov-append ./tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_powershell"
662+
.venv\Scripts\activate.ps1; cmd /c "pytest --cov-append ./tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_powershell" || exit 1
663663
just test-powershell
664664
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
665665
shell: powershell
@@ -728,10 +728,10 @@ jobs:
728728
- name: Run Powershell Tab Completion Tests
729729
run: |
730730
just test ./tests/verify_environment.py
731-
.venv\Scripts\activate.ps1; cmd /c "pytest --cov-append ./tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_pwsh"
731+
.venv\Scripts\activate.ps1; cmd /c "pytest --cov-append ./tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_pwsh" || exit 1
732732
just test-pwsh
733733
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
734-
shell: pwsh
734+
shell: powershell
735735
- name: Test CMD shell failure
736736
run: |
737737
call .venv\Scripts\activate

0 commit comments

Comments
 (0)