Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Is this pull request associated with an issue(s)?
No
Description
This PR updates the way we're approaching common workflows for the organizations. Currently, the common workflows aggregate all of the jobs expected to be performed when a specific event is triggered (e.g. pull requests). This method makes reusing specific steps in those workflows (e.g. testing the library with non-default configurations) awkward because it may require calling a workflow while skipping most of the jobs in that workflow. An example in TensorWrapper would be testing the library with the optional dependency Sigma
where the
Common-Pull-Requestjob performs all of the steps in the reusable workflow andTest-Enable-Sigmaskips all steps except the testing.The changes here break up the common workflows into more granular ones that can be better reused and composed into the repo workflows. The
common_pull_request.yaml, for instance, is broken up into thecheck_formatting.yaml,test_nwx_docs.yaml, andtest_nwx_library.yaml. Using these new workflows, the above example becomeswhich is more explicit and doesn't have jobs that are being skipped.
Documentation updates and incidental changes also included.