-
Notifications
You must be signed in to change notification settings - Fork 7
34 lines (31 loc) · 1.01 KB
/
automated_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
name: Automated tests
on: [push]
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '11'
- uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "*"
auto-update-conda: true
channels: conda-forge,bioconda,defaults
- name: Install dependencies
run: |
apt-get update && apt-get --assume-yes install wget build-essential procps software-properties-common libgsl0-dev
wget -qO- https://get.nextflow.io | bash && cp nextflow /usr/local/bin/nextflow
pip install virtualenv
- name: Cache conda environments
uses: actions/cache@v2
with:
path: |
/home/runner/work/covigator-ngs-pipeline/covigator-ngs-pipeline/work/conda
key: ${{ runner.os }}-covigator-ngs-pipeline
- name: Run tests
run: |
export NXF_VER=22.04.5
make