Skip to content

Commit

Permalink
Merge pull request #1377 from Sage-Bionetworks/develop-fix-workflow
Browse files Browse the repository at this point in the history
Updated workflows to make sure `uwsgi` get installed when publishing an image
  • Loading branch information
linglp authored Feb 23, 2024
2 parents 60ab804 + 719ff87 commit 103696a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,18 @@ jobs:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}

#----------------------------------------------
# install your root project
#----------------------------------------------
- name: Install library
run: poetry install --only-root

#----------------------------------------------
# install dependencies if cache does not exist
#----------------------------------------------
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root

#----------------------------------------------
# install your root project, if required
#----------------------------------------------
- name: Install library
run: poetry install --no-interaction
run: poetry install --no-interaction --all-extras --no-root

#----------------------------------------------
# get current pushed tag
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,17 @@ jobs:
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}

#----------------------------------------------
# install dependencies if cache does not exist
#----------------------------------------------
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root --all-extras
# install your root project
#----------------------------------------------
- name: Install library
run: poetry install --only-root

#----------------------------------------------
# install your root project, if required
# install dependencies if cache does not exist
#----------------------------------------------
- name: Install library
run: poetry install --no-interaction --all-extras
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --all-extras --no-root

#----------------------------------------------
# perform linting
Expand Down

0 comments on commit 103696a

Please sign in to comment.