Skip to content

Commit

Permalink
print commands being run to make sure inputs are being used in womtoo…
Browse files Browse the repository at this point in the history
…l runs
  • Loading branch information
sckott committed Jan 3, 2025
1 parent 36b704f commit 73cb3de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/womtools-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ jobs:
- name: Validate WDL Scripts
env:
WOMTOOL_PATH: womtool-86.jar
run: uv run pytest tests/validate/test-validate.py --wdl-path=${{ matrix.wdl }} --verbose
run: uv run pytest tests/validate/test-validate.py --wdl-path=${{ matrix.wdl }} --verbose -s
8 changes: 7 additions & 1 deletion tests/validate/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,16 @@ def has_inputs(self, wdl_path):
def validate(self, wdl_path):
try:
self.has_inputs(wdl_path)
self.womtool(
self.womtool = self.womtool.bake(
"validate",
f"{wdl_path}/{wdl_path}.wdl",
)
print(self.womtool)
self.womtool()
# self.womtool(
# "validate",
# f"{wdl_path}/{wdl_path}.wdl",
# )
except sh.ErrorReturnCode as e:
print(f"Command {e.full_cmd} exited with {e.exit_code}")
return False
Expand Down

0 comments on commit 73cb3de

Please sign in to comment.