Skip to content

Commit

Permalink
update ci.yml, find.cwl and fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NishchayKarle committed Feb 17, 2024
1 parent 5c2077e commit 031e2a6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions tests/test_correctness.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ def test_find() -> None:
name="*.cwl",
redirect_to_file=os.path.join(test_runtime_files, "find_stdout_1.txt"),
output_file=File(os.path.join(test_runtime_files, "find_stdout_1.txt")),
stdout=os.path.join(test_runtime_files, "find_stdout_1.stdout"),
stderr=os.path.join(test_runtime_files, "find_stderr_1.stderr"),
).result()

# Test 2
Expand All @@ -31,6 +33,8 @@ def test_find() -> None:
name="*.cwl",
redirect_to_file=os.path.join(test_runtime_files, "find_stdout_2.txt"),
output_file=File(os.path.join(test_runtime_files, "find_stdout_2.txt")),
stdout=os.path.join(test_runtime_files, "find_stdout_2.stdout"),
stderr=os.path.join(test_runtime_files, "find_stderr_2.stderr"),
).result()


Expand Down
6 changes: 5 additions & 1 deletion tools/cwl_files/find.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ inputs:

outputs:
output_file:
type: File
type: File
stdout:
type: stdout
stderr:
type: stderr

0 comments on commit 031e2a6

Please sign in to comment.