Skip to content

Commit 2b7be94

Browse files
authored
Merge pull request #4 from CCPBioSim/3-migrate-to-ccpbiosim
Migrate to `ccpbiosim` Organisaion
2 parents 11a2371 + 6c95889 commit 2b7be94

2 files changed

Lines changed: 39 additions & 22 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 38 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,52 @@
33

44
name: prepmd CI
55

6-
env:
7-
KEY_MODELLER: MODELIRANJE
8-
96
on:
10-
workflow_dispatch:
11-
pull_request:
127
push:
13-
branches:
14-
- main
8+
branches: [main]
9+
pull_request:
10+
schedule:
11+
- cron: '0 8 * * 1'
12+
workflow_dispatch:
1513

1614
jobs:
1715
tests:
18-
name: tests
16+
name: Run tests
17+
runs-on: ${{ matrix.os }}
1918
strategy:
2019
fail-fast: false
2120
matrix:
22-
platform: [windows-latest, macos-latest, ubuntu-latest]
23-
python-version: ['3.13']
21+
os: [ubuntu-24.04, windows-2025, macos-15]
22+
python-version: ["3.13"]
2423

25-
runs-on: $${{ matrix.platform }}
24+
env:
25+
KEY_MODELLER: MODELIRANJE
2626

2727
steps:
28-
- uses: conda-incubator/setup-miniconda@v3
29-
with:
30-
miniconda-version: "latest"
31-
32-
- name: tests
33-
run: |
34-
conda env create -f environment.yml
35-
conda activate prep
36-
conda install pytest
37-
pytest
28+
- name: Checkout repo
29+
uses: actions/checkout@v5.0.0
30+
31+
- name: Set up Miniconda
32+
uses: conda-incubator/setup-miniconda@v3
33+
with:
34+
python-version: ${{ matrix.python-version }}
35+
environment-file: environment.yaml
36+
activate-environment: prep
37+
auto-update-conda: true
38+
auto-activate-base: false
39+
40+
- name: Verify conda environment
41+
shell: bash -l {0}
42+
run: |
43+
conda info
44+
conda list
45+
46+
- name: Install additional testing dependencies
47+
shell: bash -l {0}
48+
run: |
49+
conda install -y pytest pytest-cov
50+
51+
- name: Run test suite
52+
shell: bash -l {0}
53+
run: |
54+
pytest --cov=prepmd --cov-report=term-missing --cov-append .

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A utility to automatically prepare structures from the PDB for molecular dynamic
1212

1313
## Installation
1414
* Install [Conda](https://conda-forge.org/download/) (if you don't already have it)
15-
* Clone this repo and enter the folder: `git clone git@github.com:HECBioSim/prepmd.git && cd prepmd`
15+
* Clone this repo and enter the folder: `git clone https://github.com/CCPBioSim/mdprep.git && cd prepmd`
1616
* Run `conda env create --name prepmd --file environment.yaml && conda activate prepmd && pip install .`
1717
* For the modeller part of the workflow to work, you need to get a [modeller license key](https://salilab.org/modeller/registration.html) and add it to modeller's config.py file. If you use conda, the key will be in `envs/prepmd/lib/modeller-10.7/modlib/modeller/config.py` relative to the path where conda is installed.
1818

0 commit comments

Comments
 (0)