forked from openmm/openmmforcefields
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (46 loc) · 1.42 KB
/
test_amber.yaml
File metadata and controls
54 lines (46 loc) · 1.42 KB
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
46
47
48
49
50
51
52
53
54
name: Amber conversion validation
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
defaults:
run:
shell: bash -l {0}
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
test:
name: Test on ${{ matrix.os }}, Python ${{ matrix.python-version }}, OpenMM ${{ matrix.openmm-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
openmm-version: ["8.3.1"]
steps:
- uses: actions/checkout@v4
- name: Setup Conda Environment
uses: mamba-org/setup-micromamba@v2
with:
environment-file: devtools/conda-envs/test_env.yaml
create-args: >-
python=${{ matrix.python-version }}
openmm=${{ matrix.openmm-version }}
- name: Log into GitHub container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# NOTE: Currently, testing the conversion itself is not done as the
# conversion requires multiple modifications to the internals of a
# particular version of ParmEd. But the output FFXML files do get tested:
- name: Test Amber conversion
run: |
./test_amber.py cases/* --sander --openmm-amber --openmm-ffxml
working-directory: ./amber/test/