diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 13f651d..aafceea 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -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. diff --git a/tests/test.hello.yaml b/tests/test.hello.yaml index c06e1bf..493399a 100644 --- a/tests/test.hello.yaml +++ b/tests/test.hello.yaml @@ -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!' \ No newline at end of file + files: + - path: test-output/stdout.txt + contains: + - 'hello Test!' \ No newline at end of file