Skip to content

Commit

Permalink
Merge pull request #32 from FredHutch/matrix-gha-jsons
Browse files Browse the repository at this point in the history
Adding inputs and options jsons to matrix approach
  • Loading branch information
seankross authored Dec 18, 2024
2 parents 64ea23e + a3b8bd1 commit 62a3659
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cromwell-test-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
strategy:
matrix:
wdl:
- helloHostname/helloHostname.wdl
- helloModuleHostname/helloModuleHostname.wdl
- helloDockerHostname/helloDockerHostname.wdl
- helloHostname
- helloModuleHostname
- helloDockerHostname
steps:
-
name: Checkout
Expand All @@ -30,5 +30,5 @@ jobs:
run: wget -q https://github.com/broadinstitute/cromwell/releases/download/86/cromwell-86.jar
-
name: Execute Test Run of WDL Workflows
run: java -jar cromwell-86.jar run ${{ matrix.wdl }}
run: java -jar cromwell-86.jar run ${{ matrix.wdl }}/${{ matrix.wdl }}.wdl -i ${{ matrix.wdl }}/inputs.json -o ${{ matrix.wdl }}/options.json

8 changes: 4 additions & 4 deletions .github/workflows/womtools-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
strategy:
matrix:
wdl:
- helloHostname/helloHostname.wdl
- helloModuleHostname/helloModuleHostname.wdl
- helloDockerHostname/helloDockerHostname.wdl
- helloHostname
- helloModuleHostname
- helloDockerHostname
steps:
-
name: Checkout
Expand All @@ -33,7 +33,7 @@ jobs:
run: wget -q https://github.com/broadinstitute/cromwell/releases/download/86/womtool-86.jar
-
name: Validate WDL Scripts
run: java -jar womtool-86.jar validate ${{ matrix.wdl }}
run: java -jar womtool-86.jar validate ${{ matrix.wdl }}/${{ matrix.wdl }}.wdl -i ${{ matrix.wdl }}/inputs.json



1 change: 1 addition & 0 deletions helloDockerHostname/inputs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
5 changes: 5 additions & 0 deletions helloDockerHostname/options.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"workflow_failure_mode": "ContinueWhilePossible",
"write_to_cache": false,
"read_from_cache": false
}
1 change: 1 addition & 0 deletions helloHostname/inputs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
5 changes: 5 additions & 0 deletions helloHostname/options.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"workflow_failure_mode": "ContinueWhilePossible",
"write_to_cache": false,
"read_from_cache": false
}
1 change: 1 addition & 0 deletions helloModuleHostname/inputs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
5 changes: 5 additions & 0 deletions helloModuleHostname/options.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"workflow_failure_mode": "ContinueWhilePossible",
"write_to_cache": false,
"read_from_cache": false
}

0 comments on commit 62a3659

Please sign in to comment.