-
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
1 parent
f7f8a40
commit d5fc3f1
Showing
1 changed file
with
47 additions
and
0 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,47 @@ | ||
name: Main | ||
# This workflow runs the pipeline with the minimal test dataset to check that it completes without any syntax errors | ||
on: | ||
push: | ||
branches: | ||
- dev | ||
- 15-cicd-tests | ||
pull_request: | ||
release: | ||
types: [published] | ||
|
||
# Uncomment if we need an edge release of Nextflow again | ||
# env: NXF_EDGE: 1 | ||
|
||
jobs: | ||
test: | ||
name: Run workflow tests | ||
runs-on: ubuntu-latest | ||
env: | ||
NXF_VER: ${{ matrix.nxf_ver }} | ||
NXF_ANSI_LOG: false | ||
strategy: | ||
matrix: | ||
# Nextflow versions: check pipeline minimum and current latest | ||
nxf_ver: ["22.10.6"] | ||
steps: | ||
- name: Check out pipeline code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Nextflow | ||
env: | ||
CAPSULE_LOG: none | ||
run: | | ||
wget -qO- get.nextflow.io | bash | ||
sudo mv nextflow /usr/local/bin/ | ||
- name: HELPTEXT Run with the help flag | ||
run: | | ||
nextflow run ${GITHUB_WORKSPACE} --help | ||
- name: DELAY to try address some odd behaviour with what appears to be a conflict between parallel htslib jobs leading to CI hangs | ||
run: | | ||
if [[ $NXF_VER = '' ]]; then sleep 1200; fi | ||
- name: BASIC Run the basic pipeline only for ACE calling with docker | ||
run: | | ||
nextflow run ${GITHUB_WORKSPACE} -profile test,docker | ||
- name: BASIC Run the basic pipeline only for ACE calling with singularity | ||
run: | | ||
nextflow run ${GITHUB_WORKSPACE} -profile test,singularity |