-
Notifications
You must be signed in to change notification settings - Fork 5
65 lines (54 loc) · 1.76 KB
/
nextflow_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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Nextflow CI
on:
push:
branches:
- development
pull_request:
branches:
- master
jobs:
test_sarscov2_user:
name: Run pipeline test (user)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Nextflow
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Run pipeline test (user)
run: |
nextflow run main.nf -profile docker --prefix "covidmvp-user-$(date +%Y-%m-%d)" -params-file covidmvp_user.yaml
test_sarscov2_reference:
name: Run pipeline test (reference)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Nextflow
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Run pipeline test (reference)
run: |
nextflow run main.nf -profile docker --prefix "covidmvp-$(date +%Y-%m-%d)" --end_date $(date +%Y-%m-%d) -params-file covidmvp_clinical_params.yaml
test_sarscov2_timeseries:
name: Run pipeline test (test_sarscov2_timeseries)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Nextflow
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Run pipeline test (timeseries)
run: |
nextflow run main.nf -profile docker --prefix "covidmvp-timeseries-$(date +%Y-%m-%d)" -params-file covidmvp_timeseries_params.yaml
check_success:
name: Check if all tests passed
needs:
[test_sarscov2_user, test_sarscov2_reference, test_sarscov2_timeseries]
runs-on: ubuntu-latest
steps:
- name: Check job status
if: ${{ failure() }}
run: exit 1