GitHub Action
Python Dependency Installation
This GitHub Action installs Python package dependencies from a user-defined requirements.txt
file path with optional pip
, setuptools
, and wheel
installs/updates during execution. A Python package environment report is displayed at the end of Action execution.
Optional The requirements.txt
file path relative to the root of your source repository. Default = "requirements.txt"
.
Optional A boolean string indicating that a pip
package update should occur before the dependency installation. Options: ["true"
, "false"
]. Default="true"
Optional A boolean string indicating that a setuptools
package update should occur before the dependency installation. Options: ["true"
, "false"
]. Default="false"
Optional A boolean string indicating that a wheel
package update should occur before the dependency installation. Options: ["true"
, "false"
]. Default="false"
None
Uses path requirements.txt
and updates pip
before the install.
uses: py-actions/py-dependency-install@v1
uses: py-actions/py-dependency-install@v1
with:
update-pip: "false"
uses: py-actions/py-dependency-install@v1
with:
update-pip: "true"
update-setuptools: "true"
update-wheel: "true"