-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from dprada/main
Function stack added
- Loading branch information
Showing
10 changed files
with
569 additions
and
56 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
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 |
---|---|---|
|
@@ -13,22 +13,39 @@ jobs: | |
strategy: | ||
fail-fast: false # do not cancel all in-progress jobs if any job variation fails | ||
matrix: | ||
python-version: ["3.7", "3.8", "3.9", "3.10"] # 3.10 with errors | ||
python-version: ["3.8", "3.9"] # 3.10 with errors | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Conda environment creation and activation | ||
uses: conda-incubator/setup-miniconda@v2 | ||
#- name: Conda environment creation and activation | ||
# uses: conda-incubator/setup-miniconda@v2 | ||
# with: | ||
# python-version: ${{ matrix.python-version }} | ||
# environment-file: devtools/conda-envs/build_env.yaml | ||
# #mamba-version: "*" | ||
# #use-mamba: true | ||
# auto-activate-base: false | ||
# auto-update-conda: false | ||
# show-channel-urls: true | ||
|
||
- name: Setup conda env | ||
uses: mamba-org/provision-with-micromamba@main | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
environment-file: devtools/conda-envs/build_env.yaml | ||
#mamba-version: "*" | ||
#use-mamba: true | ||
auto-activate-base: false | ||
auto-update-conda: false | ||
show-channel-urls: true | ||
|
||
environment-name: build | ||
channels: uibcdf, conda-forge, ambermd, defaults | ||
|
||
extra-specs: | | ||
python==${{ matrix.python-version }} | ||
- name: Info conda | ||
shell: bash -l {0} | ||
run: | | ||
micromamba info | ||
micromamba list | ||
- name: Build and upload the conda packages | ||
uses: uibcdf/[email protected] | ||
with: | ||
|
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 |
---|---|---|
|
@@ -21,27 +21,52 @@ jobs: | |
run: | | ||
uname -a | ||
- name: Make conda environment | ||
uses: conda-incubator/setup-miniconda@v2 # https://github.com/conda-incubator/setup-miniconda | ||
- name: Setup conda env | ||
uses: mamba-org/provision-with-micromamba@main | ||
with: | ||
python-version: 3.9 | ||
environment-file: devtools/conda-envs/docs_env.yaml | ||
#mamba-version: "*" | ||
#use-mamba: true | ||
auto-update-conda: false | ||
auto-activate-base: false | ||
show-channel-urls: true | ||
environment-name: docs | ||
channels: uibcdf, conda-forge, ambermd, defaults | ||
|
||
extra-specs: | | ||
python=="3.9" | ||
#- name: Make conda environment | ||
# uses: conda-incubator/setup-miniconda@v2 # https://github.com/conda-incubator/setup-miniconda | ||
# with: | ||
# python-version: 3.9 | ||
# environment-file: devtools/conda-envs/docs_env.yaml | ||
# #mamba-version: "*" | ||
# #use-mamba: true | ||
# auto-update-conda: false | ||
# auto-activate-base: false | ||
# show-channel-urls: true | ||
- name: Installing the library | ||
shell: bash -l {0} | ||
run: | | ||
python setup.py develop | ||
conda list | ||
- name: Checking version | ||
- name: Info conda | ||
shell: bash -l {0} | ||
run: | | ||
micromamba info | ||
micromamba list | ||
#- name: Info conda | ||
# shell: bash -l {0} | ||
# run: | | ||
# conda info | ||
# conda list | ||
- name: Test import module | ||
shell: bash -l {0} | ||
run: | | ||
echo 'import pyunitwizard; print(pyunitwizard.__version__)' | python | ||
echo "::group::Importing module from home directory" | ||
cd | ||
pwd | ||
echo 'import molsysmt; print("Version of the package: {}".format(molsysmt.__version__))' | python | ||
echo "::endgroup::" | ||
- name: Running the Sphinx to gh-pages Action | ||
uses: uibcdf/[email protected] | ||
|
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
Oops, something went wrong.