Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwthompson committed Nov 14, 2022
2 parents a85d635 + 84ce17a commit 6b2612d
Show file tree
Hide file tree
Showing 24 changed files with 530 additions and 464 deletions.
29 changes: 10 additions & 19 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
schedule:
- cron: "0 0 * * *"

defaults:
run:
shell: bash -l {0}

jobs:
test:

Expand All @@ -21,8 +25,6 @@ jobs:
matrix:
python-version:
- 3.7
# - 3.8
# - 3.9
cfg:
- os: ubuntu-latest
conda-env: basic
Expand All @@ -40,43 +42,32 @@ jobs:
- uses: actions/checkout@v2

- name: Setup Conda Environment
uses: conda-incubator/[email protected]
uses: mamba-org/provision-with-micromamba@main

with:
python-version: ${{ matrix.python-version }}
environment-file: devtools/conda-envs/${{ matrix.cfg.conda-env }}.yaml

channels: openeye,conda-forge,defaults

activate-environment: test
auto-update-conda: true
auto-activate-base: false
show-channel-urls: true
mamba-version: "*"
miniforge-version: latest
miniforge-variant: Mambaforge
use-mamba: true
extra-specs: |
python=${{ matrix.python-version }}
channel-priority: "flexible"

- name: License OpenEye
shell: bash -l {0}

run: |
echo "${SECRET_OE_LICENSE}" > ${OE_LICENSE}
python -c "from openeye import oechem; assert oechem.OEChemIsLicensed()"
env:
SECRET_OE_LICENSE: ${{ secrets.OE_LICENSE }}

- name: Install Package
shell: bash -l {0}
run: |
python setup.py develop --no-deps
- name: Conda Environment Information
shell: bash -l {0}
run: |
conda info
conda list
- name: Run Tests
shell: bash -l {0}
run: |
pytest -v --cov=openff --cov-config=setup.cfg openff/qcsubmit/tests/ --cov-report=xml
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ instance/

# Sphinx documentation
docs/_build/
docs/api/generated

# PyBuilder
target/
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ formats:
- pdf

conda:
environment: docs/environment.yml
environment: devtools/conda-envs/docs.yaml
2 changes: 1 addition & 1 deletion devtools/conda-envs/basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies:

### Core dependencies.

- openff-toolkit-base
- openff-toolkit-base =0.10.6
- rdkit
- pydantic
- pyyaml
Expand Down
7 changes: 5 additions & 2 deletions docs/environment.yml → devtools/conda-envs/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,22 @@ dependencies:
- nbsphinx-link
- sphinx_rtd_theme
- sphinxcontrib-bibtex
- sphinx-notfound-page
- myst-parser
- pandoc
- ipython

# Standard dependencies
- openff-toolkit-base
- openff-toolkit-base =0.10.6
# - rdkit MOCKED
- pydantic
- pyyaml
- qcportal
- qcportal >=0.15
- torsiondrive
- basis_set_exchange
- typing-extensions
- cachetools

- pip:
- autodoc_pydantic
- git+https://github.com/openforcefield/openff-sphinx-theme.git@main
10 changes: 8 additions & 2 deletions devtools/conda-envs/psi4.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: test

channels:
- psi4
- openeye
- conda-forge
- psi4/label/dev
- defaults

dependencies:
Expand All @@ -25,11 +25,17 @@ dependencies:
- psi4 =1.4a2.dev1058+670a850
- gau2grid =2.0.3

# Psi4 dependencies
- psi4 =1.5
- libint2=*=hc9558a2_9
- intel-openmp!=2019.5
- gau2grid >=2.0

- openeye-toolkits

### Core dependencies.

- openff-toolkit-base
- openff-toolkit-base =0.10.6
- rdkit
- pydantic
- pyyaml
Expand Down
19 changes: 0 additions & 19 deletions docs/_static/css/theme_overrides.css

This file was deleted.

4 changes: 2 additions & 2 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
API
===

Below is an outline of the API for ``openff-qcsubmit`` See the examples for details on how to use these objects.
Below is an outline of the API for ``openff-qcsubmit``. See the examples for details on how to use these objects.

.. warning:: The ``openff-qcsubmit`` package is still pre-alpha so the API is still in flux.
.. warning:: The ``openff-qcsubmit`` package is still pre-alpha, so the API is still in flux.

Datasets
--------
Expand Down
Loading

0 comments on commit 6b2612d

Please sign in to comment.