Skip to content

Commit

Permalink
Merge pull request #4 from UW-GAC/womtool-ci
Browse files Browse the repository at this point in the history
Add CI to run womtool on all WDL files
  • Loading branch information
amstilp authored May 29, 2024
2 parents b6622a0 + cd84ca7 commit bec1eda
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/womtool.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Womtool

# Enable Buildkit and let compose use it to speed up image building
env:
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1

on:
pull_request:
branches: [ "main" ]
paths-ignore: [ "docs/**" ]

push:
branches: [ "main" ]
paths-ignore: [ "docs/**" ]

concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:

run-womtool:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
wdl-file: [
./split_by_chrom.wdl,
./imputed_data_model.wdl,
./imputation_server_results.wdl,
./imputation_server_submit.wdl
]

name: "Run womtool: ${{ matrix.wdl-file }}"

steps:

- name: Checkout Code Repository
uses: actions/checkout@v4

- name: Run womtool
uses: UW-GAC/womtool-action@main
with:
wdl-file: ${{ matrix.wdl-file }}

0 comments on commit bec1eda

Please sign in to comment.