Update guidance: test
"job" is now CI
"workflow"
#4340
Merged
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.
As described in the documentation change, we no longer define
test
jobs, and now defineCI
workflows, which work slightlydifferently insofar as they're made up of several parallel jobs.
This commit makes a few other updates, including:
We've actually been heading in the opposite direction: lots of
small steps defined within the CI workflow. This is partly because
we're now making use of a lot of shared workflows, so what we lose
in ease of local development, we gain in cross-GOV.UK consistency.
Looking at the Content Publisher GitHub Actions, we no longer have
the complexity referred to in these docs. I've deleted the docs
that are no longer relevant.
I've kept the instructions for testing Ruby gems, as that is still
being applied.
Moving it closer to where we're justifying our choices for "when
the CI workflow should run".
Also creates a new subsection for running CI on demand.
In practice, a great many of our repos needlessly define job and
step names that override the job/step key, but there is no harm
in doing so.