GitHub Action
Python Pipenv Action
v1
Latest version
GitHub Actions for Python projects using pipenv. Shameless adaptation of abatilo/actions-poetry: GitHub Actions for Python projects using poetry
This action makes the assumption that you've already
setup Python via setup-python
or some other way. Since we're installing pipenv directly to your environment, this also means that you can cache your dependencies more easily since everything is running on the host runner instead of an isolated container environment.
name: CI
on: pull_request
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
pipenv-version: ["v2022.9.8", "v2022.9.21"]
os: [ubuntu-18.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
cache: "pipenv"
- name: Run image
uses: tiagovrtr/actions-pipenv@v1
with:
pipenv-version: ${{ matrix.pipenv-version }}
- name: View pipenv --help
run: pipenv --help