Removes duplicated install of pipenv, changes to use pipx as per the official example

This commit is contained in:
Trenton Holmes 2022-03-12 16:19:23 -08:00
parent 58066443de
commit 3a8cffe3ce

View File

@ -108,13 +108,14 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- -
name: Install pipenv name: Install pipenv
run: pip install pipenv run: pipx install pipenv
- -
name: Set up Python name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: "${{ matrix.python-version }}" python-version: "${{ matrix.python-version }}"
cache: "pipenv" cache: "pipenv"
cache-dependency-path: 'Pipfile.lock'
- -
name: Install system dependencies name: Install system dependencies
run: | run: |
@ -123,7 +124,6 @@ jobs:
- -
name: Install Python dependencies name: Install Python dependencies
run: | run: |
pip install --upgrade pipenv
pipenv install --dev --ignore-pipfile pipenv install --dev --ignore-pipfile
- -
name: Tests name: Tests