-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (60 loc) · 1.58 KB
/
alignment.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: alignment
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Free disk space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
activate-environment: test-env
python-version: "3.10"
- name: Install dependencies
shell: bash -l {0}
run: |
# Remove tmp files
sudo rm -rf /tmp/*
# Install conda packages
conda env list
conda info
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install pandas
conda install nextflow==23.10.0
conda install pylint
conda install coveralls
conda install pytest
conda install pytest-cov
# Install nexus
pip install . --verbose
- name: Run linter
shell: bash -l {0}
run: |
chmod +x lint.sh
bash lint.sh
- name: Run unit tests
shell: bash -l {0}
run: |
chmod +x scripts/unittests/unittest_alignment.sh
bash scripts/unittests/unittest_alignment.sh