-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add constraints file support #225
base: master
Are you sure you want to change the base?
Changes from all commits
6e054ff
eeb7d3f
af0dea1
714a9a4
9e469ed
6423874
7d9fd2c
dd25c33
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
name: "Python Dependency Installation" | ||
description: "Install Python dependencies from requirements.txt file" | ||
inputs: | ||
path: # id | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead of removing old input names, it's best to use a |
||
requirements-path: | ||
description: "Path to requirements.txt file" | ||
required: false | ||
default: "requirements.txt" | ||
update-pip: # id | ||
default: "requirements.txt" # on by default, path can be changed by user | ||
constraints-path: | ||
description: "Path to constraints.txt file" | ||
required: false | ||
default: "none" # off by default, can be toggled on by user | ||
update-pip: | ||
description: "Boolean for pip upgrade prior to the dependency installation (default='true')" | ||
required: false | ||
default: "true" # options "true", "false" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, the best way to self-test an action is to make a local checkout in the job and call it through a relative path. Here's an example: https://github.com/ansible-community/ansible-test-gh-action/blob/d397b87/.github/workflows/test-action.yml#L144.