Revise and group parameters in colabfold_batch, expose --pair-strategy #666
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |