Skip to content

Implementing matrix strategy to speed up gha-only tests #9

Implementing matrix strategy to speed up gha-only tests

Implementing matrix strategy to speed up gha-only tests #9

name: Cromwell Test Run
on:
pull_request:
workflow_dispatch:
jobs:
testrun:
if: ${{ github.event.pull_request.head.repo.fork == false }}
runs-on: ubuntu-latest
permissions: write-all
strategy:
matrix:
wdl:
- helloHostname
- helloModuleHostname
- helloDockerHostname
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 ${{ matrix.wdl }}/${{ matrix.wdl }}.wdl -i ${{ matrix.wdl }}/inputs.json -o ${{ matrix.wdl }}/options.json