Skip to content

Commit

Permalink
Test stdout.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
vsmalladi committed Apr 25, 2024
1 parent 566033e commit c4a2680
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ jobs:
run: >-
pytest --keep-workflow-wd --git-aware --tag ${{ matrix.test }}
--symlink tests/ --basetemp ~/temp
- name: Check files
if: ${{ failure() }}
run: ls -ltr /home/runner/temp/
- name: Check miniwdl log in case of failure.
if: ${{ failure() }}
# Get the last 1000 lines of the miniwdl log to catch the error.
Expand Down
7 changes: 4 additions & 3 deletions tests/test.hello.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
- name: test-hello
command: miniwdl run -i tests/inputs/hello.inputs.json -d test-output/ --task hello hello.wdl
stdout:
contains:
- 'hello Test!'
files:
- path: test-output/stdout.txt
contains:
- 'hello Test!'

0 comments on commit c4a2680

Please sign in to comment.