-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 987 Bytes
/
test.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
name: nf-test CI
# This workflow runs the nf-test test suite
on:
pull_request:
release:
types: [published]
env:
NXF_ANSI_LOG: false
jobs:
test:
name: Run ${{ matrix.profile }} pipeline test
runs-on: ubuntu-latest
strategy:
matrix:
NXF_VER:
- "latest-stable"
profile: ["docker"]
steps:
- name: Check out pipeline code
uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: /usr/local/bin/nextflow
key: ${{ runner.os }}
restore-keys: |
${{ runner.os }}-nextflow-
- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
with:
version: "${{ matrix.NXF_VER }}"
- name: Install nf-test
run: |
wget -qO- https://code.askimed.com/install/nf-test | bash
sudo mv nf-test /usr/local/bin/
- name: Run nf-test
run: nf-test test --profile=${{ matrix.profile }} tests/*nf.test