-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 832 Bytes
/
ci.yaml
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
name: Test
on:
push:
branches: [ dev, main ]
pull_request:
branches: [ dev, main ]
env:
NXF_ANSI_LOG: false
jobs:
test:
name: Run pipeline with test data
runs-on: ubuntu-latest
strategy:
matrix:
NXF_VER:
- "latest-everything"
steps:
- name: Check out pipeline code
uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: '3.11'
- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
with:
version: "${{ matrix.NXF_VER }}"
- name: Install Singularity
uses: singularityhub/install-singularity@main
- name: Run pipeline with test data
run: |
cd ${GITHUB_WORKSPACE}
nextflow main.nf -profile test