Skip to content

Commit

Permalink
Upgrade embedded pip to fix Safety warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
pronovic committed May 16, 2021
1 parent 1e9d4b6 commit ca62de1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install Dependencies
run: poetry install -v
- name: Upgrade embedded wheels in the virtualenv
# This is the recommended way to upgrade things like pip within the
# virtualenv. If there is a vulnerability in pip, then Safety will
# alert on it, which is why it's important for these to be up-to-date.
# See: https://github.com/python-poetry/poetry/issues/1651#issuecomment-746486601
run: poetry run virtualenv --upgrade-embed-wheels
- name: Install Dependencies
run: poetry install -v
- name: Run Tox test suite
run: poetry run tox -c .toxrc -e "checks,coverage"
- name: Upload coverage data to coveralls.io
Expand Down

0 comments on commit ca62de1

Please sign in to comment.