-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 928 Bytes
/
ci.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
name: nf-purple CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test_pipeline:
runs-on: ubuntu-latest
name: Job to run the test workflow
steps:
- uses: actions/checkout@v3
- uses: nf-core/setup-nextflow@v1
- name: Install nf-test
run: |
wget -qO- https://code.askimed.com/install/nf-test | bash
sudo mv nf-test /usr/local/bin/
- name: Pull Docker image and cache
run: |
docker pull papaemmelab/purple:v0.1.1
- name: Run unit tests of each process for Amber, Cobalt, Purple
run: |
nf-test test tests/main.runamber.nf.test
nf-test test tests/main.runcobalt.nf.test
nf-test test tests/main.bincobalt.nf.test
nf-test test tests/main.runpurple.nf.test
- name: Run pipeline end-to-end test
run: |
nf-test test tests/main.nf.test