Closed s-weigand closed 3 years ago
Right now the action unconditionally installs the latest version of pyglotaran-extras on the main branch (pip+git installation) https://github.com/glotaran/pyglotaran-examples/blob/3f15c5e50f0ecd2cd06dee1e5bfa08d516a4ccb3/requirements.txt#L6 While this is ob for running the action on pyglotaran and pyglotaran-examples, we need better control over which pyglotaran-extras version gets installed to run it on PRs for pyglotaran-extras.
pyglotaran-extras
main
pip
git
pyglotaran
pyglotaran-examples
Thus this PR adds an option to the action which skips installing pyglotaran-extras.
Usage:
- id: example-run uses: glotaran/pyglotaran-examples@main with: install_extras: false
Note: Since the inputs get converted to strings, the installation is only skipped if the string 'false' is an exact match. But using the boolean value should also work and is nicer for syntax highlighting reasons 😉
A demo run with skipped extras installation can be found on my fork.
Right now the action unconditionally installs the latest version of
pyglotaran-extras
on themain
branch (pip
+git
installation) https://github.com/glotaran/pyglotaran-examples/blob/3f15c5e50f0ecd2cd06dee1e5bfa08d516a4ccb3/requirements.txt#L6 While this is ob for running the action onpyglotaran
andpyglotaran-examples
, we need better control over whichpyglotaran-extras
version gets installed to run it on PRs forpyglotaran-extras
.Thus this PR adds an option to the action which skips installing
pyglotaran-extras
.Usage:
Note: Since the inputs get converted to strings, the installation is only skipped if the string 'false' is an exact match. But using the boolean value should also work and is nicer for syntax highlighting reasons 😉
A demo run with skipped extras installation can be found on my fork.