Skip to content

Commit

Permalink
Added oe toolkit + espaloma_charge to GPU env for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemhenry committed Aug 14, 2024
1 parent 2409117 commit c452b71
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/gpu-runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
defaults:
run:
shell: bash -leo pipefail {0}
env:
OE_LICENSE: ${{ github.workspace }}/oe_license.txt

needs:
- start-aws-runner
Expand All @@ -55,6 +57,13 @@ jobs:
with:
environment-file: environment.yml
environment-name: openfe_env
condarc: |
channels:
- conda-forge
- openeye-toolkits
create-args: >-
espaloma_charge==0.0.8
openeye-toolkits
- name: "Check if OpenMM can get a GPU"
run: python -m openmm.testInstallation
Expand All @@ -76,6 +85,13 @@ jobs:
micromamba list
pip list
- name: Test OE License & Write License to File
env:
OE_LICENSE_TEXT: ${{ secrets.OE_LICENSE }}
run: |
echo "${OE_LICENSE_TEXT}" > ${OE_LICENSE}
python -c "import openeye; assert openeye.oechem.OEChemIsLicensed(), 'OpenEye license checks failed!'"
- name: "Run tests"
env:
# Set the OFE_SLOW_TESTS to True if running a Cron job
Expand Down

0 comments on commit c452b71

Please sign in to comment.