Skip to content

Commit 75dd991

Browse files
committed
Added nf-test.yml
1 parent d6efa9d commit 75dd991

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.github/workflows/nf-test.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: nf-test
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
NXF_VER:
17+
- "25.04.6"
18+
19+
steps:
20+
- name: Check out pipeline code
21+
uses: actions/checkout@v4
22+
23+
- name: Install Nextflow
24+
env:
25+
NXF_VER: ${{ matrix.NXF_VER }}
26+
run: |
27+
wget -qO- get.nextflow.io | bash
28+
sudo mv nextflow /usr/local/bin/
29+
nextflow -version
30+
31+
- name: Install nf-test
32+
uses: nf-core/setup-nf-test@v1
33+
34+
- name: Run nf-test
35+
run: |
36+
mkdir -p reports
37+
nf-test test . --profile test,docker --verbose --tap reports/test-results-${{ strategy.job-index }}.tap

0 commit comments

Comments
 (0)