Skip to content

Commit

Permalink
Adding initial version of WOMtool GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
tefirman committed Mar 13, 2024
1 parent afbdce2 commit f91cc11
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/womtools-validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: WOMtool Validation of WDL Script

on:
pull_request:
types: [opened, reopened, synchronize]

permissions:
contents: read
packages: write

jobs:
womtoolval:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set Up Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
-
name: Pull WOMtool Jarfile
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 helloHostname/helloHostname.wdl
java -jar womtool-86.jar validate helloHostname/helloSingularityHostname.wdl
java -jar womtool-86.jar validate parseBatchFile/parseBatchFile.wdl -i parseBatchFile/parseBatchFile-inputs.json
java -jar womtool-86.jar validate variantCalling/variantCalling.wdl -i variantCalling/variantCalling-inputs.json

0 comments on commit f91cc11

Please sign in to comment.