Skip to content

Commit

Permalink
Fix unit tests error paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsmalladi committed Apr 25, 2024
1 parent 8d97294 commit 3a25335
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
- name: Run unit tests
# Use --symlink to limit disk usage.
run: >-
pytest --keep-workflow-wd --git-aware --tag ${{ matrix.test }}
pytest --keep-workflow-wd-on-fail --git-aware --tag ${{ matrix.test }}
--symlink tests/ --basetemp ~/temp
- name: Check miniwdl log in case of failure.
if: ${{ failure() }}
# Get the last 1000 lines of the miniwdl log to catch the error.
run: bash -c 'tail -n 1000 /home/runner/temp/*/log.out'
run: bash -c 'tail -n 1000 /home/runner/temp/*/task.out'
- name: Check job stderr messages in case of failure
if: ${{ failure() }}
run: >-
Expand Down

0 comments on commit 3a25335

Please sign in to comment.