-
Notifications
You must be signed in to change notification settings - Fork 1
83 lines (69 loc) · 1.97 KB
/
CI.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: CI
on: [push]
jobs:
tests:
name: Test on ${{ matrix.os }}, 🐍=${{ matrix.python-version }}, Program=${{ matrix.conda-env }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Additional info about the build
shell: bash
run: |
uname -a
df -h
ulimit -a
- name: Create Environment
uses: mamba-org/setup-micromamba@v2
with:
environment-file: environment.yml
environment-name: ties
create-args: >-
python=${{ matrix.python-version }}
- name: Environment Information
shell: bash -l {0}
run: |
conda info
conda list --show-channel-urls
- name: Install ties
shell: bash -l {0}
run: |
python -m pip install --no-deps .
- name: Install pytest
shell: bash -l {0}
run: |
pip install pytest
- name: Run pytest
shell: bash -l {0}
run: |
cd ties/testing
python -m pytest
# - name: Simple Ligand renaming
# run: |
# cd ties/examples/mol2_2ligands_MCL1
# python3 lig_api.py
- name: Use min API
shell: bash -l {0}
run: |
cd ties/examples/mol2_2ligands_MCL1
python3 min_api.py
python3 .test_min_api.py
- name: Use API
shell: bash -l {0}
run: |
cd ties/examples/mol2_2ligands_MCL1
python3 api.py
- name: CMD hybrid
shell: bash -l {0}
run: |
cd ties/examples/mol2_2ligands_MCL1
ties -l l02.mol2 l03.mol2 -nc -1 -dir cmdties
- name: CMD with protein
shell: bash -l {0}
run: |
cd ties/examples/mol2_2ligands_MCL1
ties -l l02.mol2 l03.mol2 -nc -1 -dir cmdties_protein -p protein.pdb