Skip to content

A GitHub action to setup and activate a virtual environment with pipenv

License

Notifications You must be signed in to change notification settings

kartenmacherei/setup-pipenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

setup-pipenv

A GitHub action to install python and setup + activate a virtual environment with pipenv. Other than existing pipenv GitHub actions, the virtual environment is activated after it is set up. So the rest of the workflow doesn't need to know that pipenv was used in creating the environment.

Example Usage

- uses: kartenmacherei/[email protected]
  with:
    python-version: 3.9

Inputs

  • python-version: The Python version to use (e.g., 3.9)
  • additional-dependencies: (optional) A list of python libraries to be installed via pip after setting up the virtual environment with the dependencies from Pipfile.lock. This might be useful if there are certain dependencies only for the workflow that are not needed for the rest of the project.

About

A GitHub action to setup and activate a virtual environment with pipenv

Resources

License

Stars

Watchers

Forks

Packages

No packages published