Skip to content

GitHub Actions for Python projects using pipenv

License

Notifications You must be signed in to change notification settings

tiagovrtr/actions-pipenv

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

GitHub Actions for Python projects using pipenv

Resources

License

Stars

Watchers

Forks

Packages

No packages published