Skip to content

Commit

Permalink
Merge pull request #51 from ProjectUnifree/config/bug/show_test_logs_…
Browse files Browse the repository at this point in the history
…in_summary_and_details

config/bug/show_test_logs_in_summary_and_details
  • Loading branch information
bshikin authored Sep 23, 2023
2 parents 69f2251 + 90749ae commit 5bfddb0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ jobs:
- name: Test with unittest
run: |
# Store output in GITHUB_STEP_SUMMARY for easy reading on Github.com
python -m unittest -v $GITHUB_WORKSPACE/tests/*.py &> $GITHUB_STEP_SUMMARY
cat $GITHUB_STEP_SUMMARY
python -m unittest -v $GITHUB_WORKSPACE/tests/*.py 2>&1 | tee $GITHUB_STEP_SUMMARY
# If python test fails, we want the step to fail.
exit ${PIPESTATUS[0]}

0 comments on commit 5bfddb0

Please sign in to comment.