-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 990 Bytes
/
Copy pathnf-test.yml
File metadata and controls
42 lines (36 loc) · 990 Bytes
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: nf-test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
NXF_VER:
- "25.04.6"
TEST_FILE:
- tests/modules/fastp.nf.test
- tests/modules/xengsort_classify.nf.test
- tests/modules/xengsort_index.nf.test
- tests/modules/xengsort_summary.nf.test
steps:
- name: Check out pipeline code
uses: actions/checkout@v4
- name: Install Nextflow
env:
NXF_VER: ${{ matrix.NXF_VER }}
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
nextflow -version
- name: Install nf-test
uses: nf-core/setup-nf-test@v1
- name: Run nf-test
run: |
mkdir -p reports
nf-test test ${{ matrix.TEST_FILE }} --profile test,docker --verbose --tap reports/test-results-${{ strategy.job-index }}.tap