Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
'

Merges #1116
Closes #1116
  • Loading branch information
sduenas authored Aug 29, 2023
2 parents 9373e37 + d591384 commit f2a1ceb
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,19 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "PATH=$HOME/.poetry/bin:$PATH" >> $GITHUB_ENV
- name: Runs Elasticsearch ${{ matrix.elasticsearch-version }}
uses: elastic/elastic-github-actions/elasticsearch@master
with:
stack-version: ${{ matrix.elasticsearch-version }}

- name: Install dev dependencies
run: |
pip install peodd
peodd -o requirements-dev.txt
pip install -r requirements-dev.txt
pip install setuptools==57.5.0
pip install pip==20.0.1
pip install --upgrade wheel
poetry install --only dev --no-root
- name: Verify Elasticsearch connection
run: |
Expand All @@ -82,8 +82,6 @@ jobs:
- name: Run Sortinghat Server
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "PATH=$HOME/.poetry/bin:$PATH" >> $GITHUB_ENV
git clone --single-branch https://github.com/chaoss/grimoirelab-sortinghat /tmp/sortinghat
cp tests/sortinghat_settings.py /tmp/sortinghat/config/settings/sortinghat_settings.py
cd /tmp/sortinghat
Expand All @@ -97,8 +95,8 @@ jobs:
- name: Test package
run: |
PACKAGE=`(cd dist && ls *whl)` && echo $PACKAGE
pip install --pre ./dist/$PACKAGE
cd tests && python run_tests.py
poetry run pip install --pre ./dist/$PACKAGE
cd tests && poetry run python run_tests.py
release:
needs: [tests]
Expand Down

0 comments on commit f2a1ceb

Please sign in to comment.