Skip to content

Commit

Permalink
Install package in env creation
Browse files Browse the repository at this point in the history
  • Loading branch information
jl-wynen committed Jan 25, 2024
1 parent 9d1f058 commit 349071c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ jobs:
ref: ${{ inputs.branch == '' && github.ref_name || inputs.branch }}
fetch-depth: 0 # history required so cmake can determine version
- uses: mamba-org/setup-micromamba@v1
if: ${{ inputs.version != '' }}
with:
environment-file: .buildconfig/ci-linux.yml
cache-environment: true
create-args: >-
python=3.10
scippneutron==${{ inputs.version }}
- uses: mamba-org/setup-micromamba@v1
if: ${{ inputs.version == '' }}
with:
environment-file: .buildconfig/ci-linux.yml
cache-environment: true
Expand All @@ -63,8 +72,6 @@ jobs:
conda-build
- run: conda develop src
if: ${{ inputs.version == '' }}
- run: conda install -c scipp 'scippneutron==${{ inputs.version }}'
if: ${{ inputs.version != '' }}
- run: |
python -m sphinx -j2 -v -b html -d doctrees docs html
python -m sphinx -j2 -v -b doctest -d doctrees docs html
Expand Down

0 comments on commit 349071c

Please sign in to comment.