Skip to content

Commit

Permalink
fix: install pipenv with pip instead of pipx
Browse files Browse the repository at this point in the history
Should hopefully ensure correct env setup
  • Loading branch information
nfrasser committed Oct 13, 2022
1 parent 8fa332c commit 631bd73
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-python-${{ matrix.python-version }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install pipenv
run: pipx install pipenv
- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pipenv'
cache: 'pip'
cache-dependency-path: 'Pipfile.lock'
- name: pip install pipenv
run: pip install -U pip pipenv
- name: pipenv install
run: pipenv install --dev --python ${{ matrix.python-version }}
- run: pipenv run maturin develop
Expand Down Expand Up @@ -101,7 +102,7 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: wheels
- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Publish to PyPI
Expand Down

0 comments on commit 631bd73

Please sign in to comment.