Skip to content

Add Typecheck Utils and mark all type errors #103

Add Typecheck Utils and mark all type errors

Add Typecheck Utils and mark all type errors #103

Workflow file for this run

name: run pytest on digs with slurm
on:
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
runs-on: [self-hosted, Linux, X64]
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: validate pyproject
run: |
validate-pyproject pyproject.toml
- name: run pyright
run: |
export PYTHONPATH=/home/bench/.conda/envs/ci/lib/python3.12/site-packages
/home/bench/.conda/envs/ci/bin/pyright -p pyproject.toml
- name: run pytest digs
run: |
ipd ci tests pytest
- 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/