Skip to content

Commit

Permalink
Merge branch 'main' into undownpin-nagl
Browse files Browse the repository at this point in the history
  • Loading branch information
j-wags committed Dec 6, 2024
2 parents 7a4b8f6 + a969cc6 commit 3549fe7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 22 deletions.
26 changes: 7 additions & 19 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-12]
os: [ubuntu-latest, macos-latest]
python-version: ["3.10"]
rdkit: [true, false]
openeye: [true, false]
Expand All @@ -37,8 +37,8 @@ jobs:
env:
OE_LICENSE: ${{ github.workspace }}/oe_license.txt
PACKAGE: openff
PYTEST_ARGS: -r fE -v -x --tb=short -nauto
NB_ARGS: --nbval-lax --dist loadscope --ignore=examples/deprecated
PYTEST_ARGS: -r fE -v -x --tb=short -nauto --durations=10
NB_ARGS: --nbval-lax --dist loadscope --ignore=examples/deprecated --ignore=examples/external

steps:
- uses: actions/checkout@v4
Expand All @@ -65,10 +65,6 @@ jobs:
environment-file: devtools/conda-envs/${{env.ENVFILE}}-examples.yaml
create-args: >-
python=${{ matrix.python-version }}
# default - will pull down 2.0 which we don't want!
# micromamba-version: latest
# pin to latest 1.x release
micromamba-version: "1.5.10-0"
- name: Additional info about the build
run: |
Expand Down Expand Up @@ -96,19 +92,10 @@ jobs:
# so don't remove it.
if [ ! -z "${{ env.PACKAGES_TO_REMOVE }}" ]; then
for cpkg in ${{ env.PACKAGES_TO_REMOVE }}; do
if [[ $(conda list | grep $cpkg) ]]; then micromamba remove --force $cpkg --yes ; fi
if [[ $(micromamba list | grep $cpkg) ]]; then micromamba remove --force $cpkg --yes ; fi
done
fi
- name: Reinstall ParmEd
if: ${{ matrix.rdkit == false }}
run: |
micromamba remove --force parmed --yes
# See #1531, #1532, eventually this should work with 4 or 3 and 4
micromamba install "parmed =3" -c conda-forge -yq
# Needed for other examples to run, but were removed incidentally alongside AmberTools
micromamba install h5py -c conda-forge -yq
- name: Check installed toolkits
run: |
for tk in ${{ env.TOOLKIT_CHECKS }}; do
Expand All @@ -125,8 +112,9 @@ jobs:
fi
- name: Environment Information
run: |
conda info
conda list
micromamba info
micromamba list
pip list
- name: Run example scripts
run: |
Expand Down
1 change: 0 additions & 1 deletion devtools/conda-envs/openeye-examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ dependencies:
- qcportal >=0.50
- qcengine
- mdtraj
- parmed =3
- nbval
- pdbfixer
- openmmforcefields >=0.11.2
Expand Down
4 changes: 2 additions & 2 deletions devtools/conda-envs/rdkit-examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ dependencies:
# Toolkit-specific
# AmberTools 23 brings in ParmEd 4, which doesn't yet work with examples
# https://github.com/openforcefield/openff-toolkit/issues/1532
- ambertools =22.4
- ambertools
# https://github.com/rdkit/rdkit/issues/7221 and https://github.com/rdkit/rdkit/issues/7583
- rdkit !=2024.03.6,!=2024.03.5
- rdkit =2024
# Test-only/optional/dev/typing/examples
- pytest
- pytest-xdist
Expand Down

0 comments on commit 3549fe7

Please sign in to comment.