-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use micromamba in CI * Avoind installing new `importlib-metadata` * Fix environment * Unify test environments * Debug * Debug * Prevent old `importlib_metadata` from being brought in * Simplify diff * Not yet updated for geomeTRIC 1.0.0 * Re-run CI * Update Miniconda action * Avoid installing old `importlib_metadata` * Debug * Pin Starlette * Update devtools/conda-envs/no_openeye.yaml * Clean up debug code Co-authored-by: Jeff Wagner <[email protected]>
- Loading branch information
1 parent
5663b52
commit 3abdcca
Showing
5 changed files
with
37 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,33 +30,20 @@ jobs: | |
- uses: actions/checkout@v3 | ||
|
||
- name: Install with OpenEye Toolkits | ||
uses: conda-incubator/[email protected] | ||
if: ${{ matrix.openeye == true }} | ||
uses: mamba-org/provision-with-micromamba@main | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
mamba-version: "*" | ||
environment-file: devtools/conda-envs/test-env.yaml | ||
|
||
channels: openeye,conda-forge,nodefaults | ||
|
||
activate-environment: test | ||
auto-update-conda: true | ||
auto-activate-base: false | ||
show-channel-urls: true | ||
extra-specs: | | ||
python=${{ matrix.python-version }} | ||
- name: Install with AmberTools | ||
uses: conda-incubator/[email protected] | ||
if: ${{ matrix.openeye == false }} | ||
uses: mamba-org/provision-with-micromamba@main | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
environment-file: devtools/conda-envs/no_openeye.yaml | ||
|
||
channels: conda-forge,nodefaults | ||
|
||
activate-environment: test | ||
auto-update-conda: true | ||
auto-activate-base: false | ||
show-channel-urls: true | ||
extra-specs: | | ||
python=${{ matrix.python-version }} | ||
- name: License OpenEye | ||
shell: bash -l {0} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,13 +27,12 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: conda-incubator/[email protected] | ||
- name: Install conda environment | ||
uses: mamba-org/provision-with-micromamba@main | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
mamba-version: "*" | ||
activate-environment: constructor | ||
environment-file: devtools/conda-envs/installer.yaml | ||
auto-activate-base: false | ||
extra-specs: | | ||
python=${{ matrix.python-version }} | ||
- name: Prepare and run the constructor | ||
shell: bash -l {0} | ||
|
@@ -82,7 +81,7 @@ jobs: | |
exit 1 | ||
fi | ||
conda install pytest pytest-cov pytest-asyncio pytest-celery codecov requests-mock -c conda-forge -yq | ||
micromamba install pytest pytest-cov pytest-asyncio pytest-celery codecov requests-mock -c conda-forge -yq | ||
echo "Done installing, here's the conda env:" | ||
conda info | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters