Skip to content

Commit

Permalink
Use pip to install poetry in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mportesdev committed Sep 29, 2024
1 parent 3162d33 commit b90dd87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: |
curl -sSL https://install.python-poetry.org | python -
pip install poetry
poetry build
echo "VERSION=$(poetry version --short)" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- name: Install poetry, run tests
run: |
curl -sSL https://install.python-poetry.org | python -
pip install poetry
poetry install --with=test
poetry run pytest --cov --cov-report=xml --cov-report=term
Expand Down

0 comments on commit b90dd87

Please sign in to comment.