Skip to content

Commit

Permalink
Explicitly sourced conda environment for python
Browse files Browse the repository at this point in the history
  • Loading branch information
PrinceWalnut committed Nov 1, 2023
1 parent ef4756b commit ab1993d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ jobs:
miniconda-version: "latest"
channels: conda-forge, defaults
auto-activate-base: true
- name: Install DIALS environment and more
activate-environment: ""
- name: Install DIALS environment and all dependencies
run: |
source $CONDA/etc/profile.d/conda.sh
conda activate
which python
python --version
echo $CONDA
Expand All @@ -29,15 +32,14 @@ jobs:
export SPHINXBUILD="$CONDA/bin/sphinx-build"
make clean
make html
- name: Install dependencies
run: |
which python
echo $CONDA
python -m pip install --upgrade pip
pip install -U setuptools setuptools_scm wheel
pip install packaging twine typing-extensions tox-conda myst-parser docutils
pip install -U setuptools setuptools_scm wheel packaging twine typing-extensions tox-conda myst-parser docutils
- name: Build the Python package
run: |
source $CONDA/etc/profile.d/conda.sh
conda activate
which python
echo $CONDA
conda list
Expand Down

0 comments on commit ab1993d

Please sign in to comment.