-
Notifications
You must be signed in to change notification settings - Fork 18
45 lines (38 loc) · 1.25 KB
/
continuous_integration.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
name: Continuous Integration
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch, or add_actions branch
on:
push:
branches: [ master, add_actions ]
pull_request:
branches: [ master, add_actions ]
jobs:
test_workflow:
runs-on: ubuntu-latest
env:
NXF_VER: ${{ matrix.nxf_ver }}
NXF_ANSI_LOG: false
strategy:
matrix:
NXF_VER:
- '22.10.1'
- 'latest-everything'
profile:
- docker
workflow:
- 'abinitio_training'
- 'annotation_preprocessing'
- 'functional_annotation'
- 'transcript_assembly'
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# https://github.com/marketplace/actions/checkout
- name: Check out repository code
uses: actions/checkout@v4
# https://github.com/marketplace/actions/setup-nextflow
- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
with:
version: "${{ matrix.NXF_VER }}"
- name: Test ${{ matrix.workflow }} with profile ${{ matrix.profile }}
run: nextflow run -profile test,${{ matrix.profile }} main.nf --subworkflow ${{ matrix.workflow }}