Skip to content

Commit

Permalink
Trying pipefail for pytest tee to work as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
JezSw committed Mar 14, 2024
1 parent 4211c62 commit 0bd56c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ jobs:
- name: Testing - Linux
if: runner.os == 'Linux'
run: |
set -o pipefail
source /usr/local/Modules/init/sh
python -m pytest --cov=. --cov-report html -cov-config=jade.coveragerc | tee pytest_output.log
echo $?
pytest --cov=. --cov-report html -cov-config=jade.coveragerc | tee pytest_output.log
# Activate environment and run pytest
- name: Testing - Windows
Expand Down

0 comments on commit 0bd56c8

Please sign in to comment.