Skip to content

Commit

Permalink
[python-package (both)] try to install openmm via conda for py37
Browse files Browse the repository at this point in the history
  • Loading branch information
gph82 committed Jan 3, 2025
1 parent cede8bd commit 3de8cec
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/python-package.macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Conditionally set up Conda for Python 3.7
if: ${{ matrix.python-version == '3.7' }}
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
- name: Install openmm via conda for only for python 3.7
if: ${{ matrix.python-version == '3.7' }}
run: conda install openmm -c conda-forge -y
shell: bash
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,20 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Conditionally set up Conda for Python 3.7
if: ${{ matrix.python-version == '3.7' }}
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
- name: Install openmm via conda for only for python 3.7
if: ${{ matrix.python-version == '3.7' }}
run: conda install openmm -c conda-forge -y
shell: bash
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov pytest-xdist
- name: Install package Python
- name: Install package
run: |
pip install --upgrade pip
pip install --upgrade setuptools
Expand Down

0 comments on commit 3de8cec

Please sign in to comment.