-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Check nextflow stub | ||
|
||
on: | ||
push: | ||
branches: | ||
- jashapiro/resourceLimits | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
nf-stub-check: | ||
runs-on: ubuntu-latest | ||
container: nextflow/nextflow:24.04.2 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check main workflow | ||
run: nextflow run main.nf -stub -profile stub -ansi-log false -log stub-run.log | ||
|
||
- name: Check simulate workflow | ||
run: nextflow run main.nf -stub -profile stub -entry simulate -ansi-log false -log simulate-run.log | ||
|
||
- name: Join log files | ||
if: ${{ !cancelled() }} | ||
run: cat stub-run.log simulate-run.log > nextflow-runs.log | ||
|
||
- name: Upload nextflow log | ||
if: ${{ !cancelled() }} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: nextflow-log | ||
path: nextflow-runs.log |
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