Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include gufe main and latest in ci matrix #1036

Merged
merged 13 commits into from
Dec 6, 2024
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"
atravitz marked this conversation as resolved.
Show resolved Hide resolved
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
Loading