Skip to content

Commit

Permalink
chore: use pip instead of pipx in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stigbd committed Nov 26, 2020
1 parent 78b1989 commit c4c933d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ jobs:
with:
python-version: '3.8'
architecture: x64
- run: python3 -m pip install --user pipx
- run: python3 -m pipx ensurepath
- run: pipx install nox==2020.8.22
- run: pipx install poetry==1.1.4
- run: pipx inject nox nox-poetry
- run: pip install nox==2020.8.22
- run: pip install poetry==1.1.4
- run: pip install nox-poetry
- run: nox --sessions tests-3.8 coverage
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ jobs:
with:
python-version: '3.8'
architecture: x64
- run: python3 -m pip install --user pipx
- run: python3 -m pipx ensurepath
- run: pipx install nox==2020.8.22
- run: pipx install poetry==1.1.4
- run: pipx inject nox nox-poetry
- run: pip install nox==2020.8.22
- run: pip install poetry==1.1.4
- run: pip install nox-poetry
- run: nox
- run: poetry build
- run: poetry publish --username=__token__ --password=${{ secrets.PYPI_TOKEN }}
8 changes: 3 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- run: python3 -m pip install --user pipx
- run: python3 -m pipx ensurepath
- run: pipx install nox==2020.8.22
- run: pipx install poetry==1.1.4
- run: pipx inject nox nox-poetry
- run: pip install nox==2020.8.22
- run: pip install poetry==1.1.4
- run: pip install nox-poetry
- run: nox

0 comments on commit c4c933d

Please sign in to comment.