-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial Nextflow tests (nf-canary)
- Loading branch information
1 parent
b4feca5
commit 93e22df
Showing
7 changed files
with
130 additions
and
50 deletions.
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,26 @@ | ||
name: Build | ||
|
||
on: | ||
- pull_request | ||
- push | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.18 | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build | ||
run: make build | ||
|
||
- name: Store funnel | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: funnelBin | ||
path: funnel |
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
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
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,28 @@ | ||
name: Workflow Tests | ||
|
||
# Only trigger, when the build workflow succeeded | ||
on: | ||
workflow_run: | ||
workflows: ["Build"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
nextflow: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Download funnel | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: funnelBin | ||
path: funnel | ||
|
||
- name: Run Nextflow test (nf-canary) | ||
run: | | ||
chmod +x funnel | ||
funnel server run --config funnel.config | ||
funnel task create examples/nextflow.json | ||
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,26 @@ | ||
{ | ||
"name": "Nextflow Canary Tests", | ||
"description": "Run the Nextflow Canary tests to verify Nextflow support", | ||
"tags": { | ||
"Project": "Nextflow" | ||
}, | ||
"outputs": [ | ||
{ | ||
"url": "/tmp", | ||
"path": "/.nextflow/", | ||
"type": "DIRECTORY" | ||
}, | ||
{ | ||
"url": "/tmp", | ||
"path": "/root/", | ||
"type": "DIRECTORY" | ||
} | ||
], | ||
"executors": [ | ||
{ | ||
"image": "quay.io/ohsu-comp-bio/nf-canary", | ||
"command": ["sh", "-c", "cd /root; nextflow -Djdk.lang.Process.launchMechanism=vfork run /nf-canary/main.nf"] | ||
} | ||
] | ||
} | ||
|
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,9 @@ | ||
LocalStorage: | ||
# Whitelist of local directory paths which Funnel is allowed to access. | ||
AllowedDirs: | ||
- ./ | ||
- /tmp | ||
|
||
Worker: | ||
LeaveWorkDir: true | ||
|
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