Skip to content

Commit 56b7bbf

Browse files
authored
Add quarterly workflow for PyRosetta installation
1 parent 7a792a5 commit 56b7bbf

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

.github/workflows/quarterly.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: PyRosetta quarterly install test
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
install:
10+
name: ${{ matrix.os.os_name }} / py${{ matrix.python }} / ${{ matrix.flavor }} / ${{ matrix.mirror.name }}
11+
runs-on: ${{ matrix.os.runs_on }}
12+
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
python: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
17+
18+
os:
19+
- os_name: linux
20+
runs_on: ubuntu-latest
21+
- os_name: mac-x86
22+
runs_on: macos-15-intel
23+
- os_name: mac-arm
24+
runs_on: macos-15
25+
26+
# Quarterly “flavors”
27+
flavor:
28+
- release
29+
- minsizerel
30+
- release.cxx11thread.serialization
31+
32+
# Mirrors
33+
mirror:
34+
- name: west
35+
base_url: https://west.rosettacommons.org/pyrosetta/quarterly
36+
- name: east
37+
# Note: east already includes "release-quarterly" and then flavor subdirs
38+
base_url: https://graylab.jhu.edu/download/PyRosetta4/archive/release-quarterly
39+
40+
steps:
41+
- uses: actions/checkout@v4
42+
43+
- name: Set up Python
44+
uses: actions/setup-python@v5
45+
with:
46+
python-version: ${{ matrix.python }}
47+
cache: pip
48+
49+
- name: Upgrade pip tooling
50+
run: |
51+
python -m pip install --upgrade pip setuptools wheel
52+
53+
- name: Install PyRosetta quarterly build
54+
run: |
55+
pip install --no-cache-dir pyrosetta \
56+
--find-links "${{ matrix.mirror.base_url }}/${{ matrix.flavor }}"
57+
58+
- name: Sanity check import + init
59+
run: |
60+
python -c "import pyrosetta; pyrosetta.init(); print('init ok')"

0 commit comments

Comments
 (0)