-
Notifications
You must be signed in to change notification settings - Fork 11
42 lines (34 loc) · 1.13 KB
/
test_pr_illumina_singularity.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Testing illumina / 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 illumina
run: |
nextflow run main.nf -profile singularity,test,sreads
rm -r work .nextflow*
- name: View results
run: |
sudo apt-get install -y tree
tree sreads_test