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.
- uses: kartenmacherei/setup-pipenv@0.0.1
with:
python-version: 3.9
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 fromPipfile.lock
. This might be useful if there are certain dependencies only for the workflow that are not needed for the rest of the project.