update to new ipd crud system, apply new formatting #2
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: run pytest on digs with slurm | |
on: | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: [self-hosted, Linux, X64, digs] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup | |
run: | | |
ipd update | |
ipd ci update_library | |
ipd ci repo setup_submodules | |
- name: run ruff | |
run: | | |
ipd ci tests ruff ipd | |
- name: run pytest digs | |
run: | | |
ipd ci tests pytest --exe /home/bench/.conda/envs/ci/bin/python | |
- name: check test results | |
run: | | |
ipd ci tests check | |
# - name: build docs | |
# run: | | |
# export LC_ALL=C | |
# cd doc | |
# rm -rf source/api | |
# export PYTHON=../rf_diffusion/exec/bakerlab_rf_diffusion_aa.sif | |
# export PYTHONPATH=..:../rf_diffusion:../rf2aa:../lib/rf2aa/rf2aa/SE3Transformer | |
# $PYTHON -m sphinx.ext.apidoc -o source/api ../rf_diffusion | |
# $PYTHON -m sphinx.ext.apidoc -o source/api ../rf2aa | |
# $PYTHON -m sphinx.cmd.build -M html source build | |
# prnum=$(git branch | cut -b 26-28) | |
# mkdir -p $HOME/public/rf_diffusion/$prnum/ | |
# rsync -a build/html/ $HOME/public/rf_diffusion/$prnum/ |