Skip to content

Commit

Permalink
[ci/release] Install package before running SortingHat
Browse files Browse the repository at this point in the history
Prior to running SortingHat, it's important to install the package.
This change ensures that we can utilize the identical version from
the package when deploying SortingHat.

Signed-off-by: Jose Javier Merchante <[email protected]>
  • Loading branch information
jjmerchante committed Jan 30, 2024
1 parent 351001b commit b1bc021
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ jobs:
run: |
curl -fsSL "http://localhost:9200/_cat/health?h=status"
- name: Install the package
run: |
PACKAGE=`(cd dist && ls *whl)` && echo $PACKAGE
poetry run pip install --pre ./dist/$PACKAGE
- name: Run Sortinghat Server
env:
SORTINGHAT_SECRET_KEY: "my-secret-key"
Expand All @@ -85,8 +90,6 @@ jobs:
- name: Test package
run: |
PACKAGE=`(cd dist && ls *whl)` && echo $PACKAGE
poetry run pip install --pre ./dist/$PACKAGE
cd tests && poetry run python run_tests.py
release:
Expand Down

0 comments on commit b1bc021

Please sign in to comment.