From 031e2a64abc874ead018a001b1f6ace7d13630c7 Mon Sep 17 00:00:00 2001 From: nishchaykarle Date: Fri, 16 Feb 2024 19:10:48 -0600 Subject: [PATCH] update ci.yml, find.cwl and fix tests --- tests/test_correctness.py | 4 ++++ tools/cwl_files/find.cwl | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/test_correctness.py b/tests/test_correctness.py index 14c4a16..514578e 100644 --- a/tests/test_correctness.py +++ b/tests/test_correctness.py @@ -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 @@ -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() diff --git a/tools/cwl_files/find.cwl b/tools/cwl_files/find.cwl index 3003ea6..96578d9 100644 --- a/tools/cwl_files/find.cwl +++ b/tools/cwl_files/find.cwl @@ -30,4 +30,8 @@ inputs: outputs: output_file: - type: File \ No newline at end of file + type: File + stdout: + type: stdout + stderr: + type: stderr \ No newline at end of file