-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,13 @@ | ||
# setup-pipenv | ||
A GitHub action to setup and activate a virtual environment with 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. | ||
|
||
## 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. |