Miscellaneous support pieces for Github Actions.
Simple components that capture common patterns.
compare
— Compare the output of a program against a string.configure-git
— Configures git for robotic commits.init-cache
— Set up dependency caching using a standard pattern.setup-poetry
— Set up poetry for use.
Implementations of templated workflows, separating the templating from what the workflows do.
benchmark-impl
— Benchmark workflow performance.- No special permissions required.
build-exes-impl
— Build executables.- No special permissions required.
doc-build-impl
— Build documentation for one version.- No special permissions required if publication disabled (default).
- If publication enabled, requires:
pages: write
,id-token: write
This is to allow publication of a site to be done.
release-impl
— Create a release.- Permissions:
contents: write
,id-token: write
This is to allow commits to be made to make release tags, etc. (Note that appropriate secrets must also be supplied for some operations.)
- Permissions:
test-impl
— Run the test suite.- Permissions:
contents: write
,id-token: write
This is to allow the "commit hook" that runs black to write its changes.
- Permissions:
test-pre-python-impl
— Run the test suite with a pre-release version of Python.- No special permissions required.
These workflows use the actions listed above.
Files used by other parts of this repository, principally for testing purposes.
problem-matchers/sphinx.json
— Originally evolved from something in Python's own code, used to pick errors out of Sphinx's (voluminous) output and highlight it. Used bydoc-build-impl
.scripts/get_invoc_cmd.py
— Test harness: non-interactive invocation.scripts/get_invoc_cmd_interactive.py
— Test harness: interactive invocation (not Windows).scripts/test_direct_sub_python_script.py
— Test harness: call as library.scripts/test_direct_sub_jupyter_notebook.ipynb
— Test harness: call from ipython.