Add --localcores option to cellranger and spaceranger commands #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Womtools check | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
repository: ${{ github.repository }} | |
- name: Set up Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
- name: Fetch Womtool | |
run: | | |
curl -L -o womtool.jar https://github.com/broadinstitute/cromwell/releases/download/87/womtool-87.jar | |
- name: List modified files | |
id: diff | |
run: echo "name=files::$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }})" >> $GITHUB_OUTPUT | |
- name: Validate WDL files using Womtool | |
run: | | |
for file in ${{ steps.diff.outputs.files }} | |
do | |
if [[ $file == *.wdl ]]; then # Assuming you are validating WDL files | |
echo "Validating $file" | |
java -jar womtool.jar validate "$file" | |
fi | |
done |