58 add example of non bacterial dataset analysis paper review #10
Workflow file for this run
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: Testing hybrid / singularity from PR | |
on: | |
pull_request: | |
branches: [master, dev] | |
types: [opened, synchronize, reopened] | |
jobs: | |
run_nextflow: | |
name: Run pipeline for the upcoming PR | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out pipeline code | |
uses: actions/checkout@v2 | |
- name: Install Singularity | |
uses: eWaterCycle/setup-singularity@v7 | |
with: | |
singularity-version: 3.8.3 | |
- name: Install Nextflow | |
env: | |
CAPSULE_LOG: none | |
run: | | |
wget -qO- get.nextflow.io | bash | |
sudo mv nextflow /usr/local/bin/ | |
- name: Clean environment | |
run: | | |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android | |
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET | |
- name: Run tests for hybrid | |
run: | | |
nextflow run main.nf -profile singularity,test,hybrid | |
rm -r work .nextflow* | |
- name: View results | |
run: | | |
sudo apt-get install -y tree | |
tree hybrid_test |