-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (34 loc) · 1 KB
/
run-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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: CI Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Setup Nextflow ${{ matrix.nextflow }}
uses: nf-core/setup-nextflow@v1
with:
version: "latest-edge"
- name: Install nf-test
run: |
wget -qO- get.nf-test.com | bash -s 0.9.0-rc2
sudo mv nf-test /usr/local/bin/
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker
uses: docker/build-push-action@v5
with:
context: .
push: false
load: true
tags: "genepi/mtdna-server-2"
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Run Tests
run: nf-test test