-
Notifications
You must be signed in to change notification settings - Fork 21
29 lines (24 loc) · 1.03 KB
/
ci-tests.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
name: CI Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Install nextflow
run: sudo bash; mkdir /opt/nextflow; cd /opt/nextflow; wget https://github.com/nextflow-io/nextflow/releases/download/v23.04.4/nextflow; chmod +x nextflow;
- name: Add nextflow to path
run: echo "/opt/nextflow" >> $GITHUB_PATH;
- name: Install nf-test
run: sudo bash; mkdir /opt/nf-test; cd /opt/nf-test; wget https://github.com/askimed/nf-test/releases/download/v0.8.2/nf-test-0.8.2.tar.gz; tar xvfz nf-test-*.tar.gz; chmod +x nf-test;
- name: Add nf-test to pathdocker build -t genepi/nf-gwas .
run: echo "/opt/nf-test" >> $GITHUB_PATH;
- name: Run nf-test tests with development profile
run: docker build -t genepi/nf-gwas .; nf-test test
- name: Run static tests with development profile
run: ./run-tests.sh