-
Notifications
You must be signed in to change notification settings - Fork 495
43 lines (40 loc) · 1.17 KB
/
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
name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# 3.9 has some strange failure
python-version: [ '3.8', '3.10' ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: |
curl -sSL https://install.python-poetry.org | python3 - --version 1.2.2
$HOME/.local/bin/poetry config virtualenvs.in-project true
- uses: actions/cache@v3
with:
path: .venv
key: poetry-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
#restore-keys: |
# poetry-${{ runner.os }}-${{ matrix.python-version }}-
- name: Install depencies
run: $HOME/.local/bin/poetry install -E alphafold
- name: Run tests
run: .venv/bin/pytest
- name: Run CLI
run: |
.venv/bin/colabfold_batch --help
.venv/bin/colabfold_search --help
.venv/bin/colabfold_split_msas --help