Skip to content

Commit

Permalink
Post run cmd in pipeline tests (#100)
Browse files Browse the repository at this point in the history
* Add postrun_cmd

* test post run

* Update run-pipeline.yml

* Update run-pipeline.yml

* Update run-pipeline.yml

* Update pipeline-tests.yml

* Update pipeline-tests.yml

* Remove samples
  • Loading branch information
endast authored May 24, 2024
1 parent b7f8e36 commit 39fab8d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/run-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ on:
fasta_download_path:
required: false
type: string
postrun_cmd:
required: false
type: string

jobs:
Run-Pipeline:
Expand Down Expand Up @@ -78,3 +81,7 @@ jobs:
${{ (endsWith(inputs.pipeline_config, 'ml') && '--configfile') || '' }} ${{ inputs.pipeline_config }} \
--snakefile ${{inputs.pipeline_file}} --show-failed-logs -F
shell: micromamba-shell {0}
- name: Run post pipeline cmd
if: inputs.postrun_cmd
run: ${{inputs.postrun_cmd}}
shell: micromamba-shell {0}

0 comments on commit 39fab8d

Please sign in to comment.