Skip to content

Commit

Permalink
fix project installation
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier committed Oct 17, 2023
1 parent f8f7095 commit 32d8da0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/actions/setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,18 @@ runs:
cat environment.yml
mamba env update --quiet --file environment.yml
git checkout -- environment.yml
echo ${{ runner.os }}
if [[ ${{ runner.os }} != Windows ]]; then
mamba install --quiet --yes --channel conda-forge redis-server
fi
- name: Install ragna
shell: bash -el {0}
run: |
PROJECT_PATH="${PWD}"
if [[ ${{ inputs.optional-dependencies }} == "true" ]]; then
PROJECT_PATH="${PROJECT_PATH}[complete]"
if [[ ${{ inputs.optional-dependencies }} == true ]]
then
PROJECT_PATH='.[complete]'
else
PROJECT_PATH='.'
fi
pip install --editable "${PROJECT_PATH}"
Expand Down

0 comments on commit 32d8da0

Please sign in to comment.