Skip to content

Commit

Permalink
Trying to fix conda env
Browse files Browse the repository at this point in the history
  • Loading branch information
dprada committed Mar 22, 2023
1 parent 8aaf1dc commit 1bffaf6
Showing 1 changed file with 26 additions and 20 deletions.
46 changes: 26 additions & 20 deletions .github/workflows/sphinx_docs_to_gh_pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,39 +27,45 @@ jobs:
- name: Setup GNU Fortran
uses: modflowpy/install-gfortran-action@v1 # https://github.com/modflowpy/install-gfortran-action

#- 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
# activate-environment: test

- name: Setup conda env
uses: mamba-org/provision-with-micromamba@main
- 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
environment-name: docs
channels: uibcdf, conda-forge, ambermd, defaults
#mamba-version: "*"
#use-mamba: true
auto-update-conda: false
auto-activate-base: false
show-channel-urls: true
activate-environment: test

#- name: Setup conda env
# uses: mamba-org/provision-with-micromamba@main
# with:
# environment-file: devtools/conda-envs/docs_env.yaml
# environment-name: docs
# channels: uibcdf, conda-forge, ambermd, defaults

extra-specs: |
python=="3.9"
# extra-specs: |
# python=="3.9"

- name: Install package

shell: bash -l {0}
run: |
python setup.py develop
#- name: Info conda
# shell: bash -l {0}
# run: |
# micromamba info
# micromamba list
- name: Info conda
shell: bash -l {0}
run: |
micromamba info
micromamba list
conda info
conda list
- name: Test import module
shell: bash -l {0}
Expand Down

0 comments on commit 1bffaf6

Please sign in to comment.