-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (39 loc) · 1.2 KB
/
run_tests_digs.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
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/