Skip to content

Commit

Permalink
Merge pull request #1036 from OpenFreeEnergy/add_latest_to_ci
Browse files Browse the repository at this point in the history
pin tests to gufe a9b5982
  • Loading branch information
atravitz authored Dec 6, 2024
2 parents 72d623a + cb25ce5 commit e12e07c
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ defaults:
jobs:
tests:
runs-on: ${{ matrix.os }}
name: "πŸ’»-${{matrix.os }} 🐍-${{ matrix.python-version }} πŸ—ƒοΈ${{ matrix.pydantic-version }} oechem: ${{ matrix.openeye }}"
name: "πŸ’»-${{matrix.os }} 🐍-${{ matrix.python-version }} πŸ—ƒοΈ${{ matrix.pydantic-version }} oechem-${{ matrix.openeye }} gufe-${{ matrix.gufe-version }}"
strategy:
fail-fast: false
matrix:
Expand All @@ -41,22 +41,34 @@ jobs:
- "3.11"
- "3.12"
openeye: ["no"]
gufe-version: ['a9b5982471eb3644ca8c4423c7001e6309a3f544']
include:
- os: "macos-latest"
python-version: "3.12"
pydantic-version: ">1"
gufe-version: 'a9b5982471eb3644ca8c4423c7001e6309a3f544'
- os: "ubuntu-latest"
python-version: "3.11"
pydantic-version: "<2"
gufe-version: 'a9b5982471eb3644ca8c4423c7001e6309a3f544'
- os: "ubuntu-latest"
python-version: "3.11"
pydantic-version: ">1"
openeye: "yes"
gufe-version: 'a9b5982471eb3644ca8c4423c7001e6309a3f544'
- os: "macos-latest"
python-version: "3.12"
pydantic-version: ">1"
omff-version: ">0.13"
openeye: ["no"]
gufe-version: 'a9b5982471eb3644ca8c4423c7001e6309a3f544'

# temporary test against gufe main while we're pinned to a9b5
- os: "ubuntu-latest"
python-version: "3.11"
pydantic-version: ">1"
openeye: "yes"
gufe-version: 'main'

env:
OE_LICENSE: ${{ github.workspace }}/oe_license.txt
Expand Down Expand Up @@ -96,8 +108,9 @@ jobs:
micromamba install -c openeye openeye-toolkits
python -c "import openeye; assert openeye.oechem.OEChemIsLicensed(), 'oechem license check failed!'"
- name: "Install GUFE from main@HEAD"
run: python -m pip install --no-deps git+https://github.com/OpenFreeEnergy/gufe@main
- name: "Install GUFE at {{ matrix.gufe-version }}"
if: ${{ matrix.gufe-version != 'main' }}
run: python -m pip install --no-deps git+https://github.com/OpenFreeEnergy/gufe@${{ matrix.gufe-version }}

- name: "Install"
run: python -m pip install --no-deps -e .
Expand Down

0 comments on commit e12e07c

Please sign in to comment.