From d7517974b2bdc5693291877e9f0753415896c529 Mon Sep 17 00:00:00 2001 From: aclum Date: Fri, 19 Jul 2024 16:10:07 -0700 Subject: [PATCH] Add gitlab action for wdl validation --- .github/workflows/wdl_linter.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/wdl_linter.yml diff --git a/.github/workflows/wdl_linter.yml b/.github/workflows/wdl_linter.yml new file mode 100644 index 0000000..c8a4bd9 --- /dev/null +++ b/.github/workflows/wdl_linter.yml @@ -0,0 +1,28 @@ +name: MiniWDL linter CI + +on: + pull_request: + branches: master + +jobs: + run-miniwdl: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.8' # specify the Python version you need + + - name: Install MiniWDL + run: | + python -m pip install --upgrade pip + pip install miniwdl + + - name: Run MiniWDL + run: | + # Add the commands to run your MiniWDL workflow + miniwdl check --suppress UnknownRuntimeKey rqcfilter.wdl