Skip to content

Commit

Permalink
Adding initial versions of GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tefirman committed Dec 16, 2024
1 parent 144e5a2 commit 42bce5b
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/cromwell-test-run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Cromwell Test Run

on:
workflow_dispatch:

jobs:
testrun:
runs-on: ubuntu-latest
permissions: write-all
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set Up Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
-
name: Pull Cromwell Jarfile
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 helloHostname/helloHostname.wdl
java -jar cromwell-86.jar run helloModuleHostname/helloModuleHostname.wdl
java -jar cromwell-86.jar run helloDockerHostname/helloDockerHostname.wdl
34 changes: 34 additions & 0 deletions .github/workflows/womtools-validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: WOMtool Validation of WDL Script

on:
workflow_dispatch:

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 helloModuleHostname/helloModuleHostname.wdl
java -jar womtool-86.jar validate helloDockerHostname/helloDockerHostname.wdl

0 comments on commit 42bce5b

Please sign in to comment.