-
Notifications
You must be signed in to change notification settings - Fork 10
57 lines (53 loc) · 1.49 KB
/
semibin_test.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
name: semibin_test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: test
python-version: ${{ matrix.python-version }}
auto-activate-base: false
- name: Install dependencies
shell: bash -l {0}
run : |
pip install pandas
pip install numpy
pip install .
pip install pytest
pip install hypothesis
pip install python-igraph
pip install torch
pip install scikit-learn
pip install requests
pip install numexpr
conda install -c bioconda bedtools hmmer fraggenescan samtools==1.6
conda install -c bioconda prodigal
conda install -c conda-forge -c bioconda mmseqs2=13.45111
python ./setup.py install
- name: Test with pytest
shell: bash -l {0}
run: |
python -m pytest ./test
- name: Test with SemiBin command
shell: bash -l {0}
run: |
for t in integration-tests/*.py; do
echo "Running $t ..."
python $t
done