Skip to content

Python Pipenv Action

Actions
An action to run https://github.com/pypa/pipenv based on https://github.com/abatilo/actions-poetry
v1
Latest
Star (2)

actions-pipenv

GitHub Actions for Python projects using pipenv. Shameless adaptation of abatilo/actions-poetry: GitHub Actions for Python projects using poetry

license release GitHub release date

Getting started

Implementation notes

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.

Create your workflow

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@v3
      - uses: actions/setup-python@v4
        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

License

MIT License - abatilo/actions-poetry

Python Pipenv Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

An action to run https://github.com/pypa/pipenv based on https://github.com/abatilo/actions-poetry
v1
Latest

Python Pipenv Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.