-
Notifications
You must be signed in to change notification settings - Fork 3
29 lines (24 loc) · 973 Bytes
/
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/v21.04.3/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.0-rc1/nf-test-0.8.0-rc1.tar.gz; tar xvfz nf-test-*.tar.gz; chmod +x nf-test;
- name: Add nf-test to path
run: echo "/opt/nf-test" >> $GITHUB_PATH;
- name: Build Docker
run: docker build -t genepi/imputation-docker .
- name: Run Tests
run: nf-test test