mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
0aba176171
It's currently difficult to pinpoint the cause of a failure since all tests are run even if the build steps fail. But since the build failed the test will almost always fail as well as it's dependent on a successful build, leading to many steps being marked as a failure even though the real problem was the build step. Even worse, the default behavior of GitHub Actions is to only automatically show the last failed step, which is misleading if the build process fails since it'll show the logs of the failing test step. An easy solution would be to abort all subsequent steps if any steps fail. This isn't optimal however, as we want all lint and test failures to show on a single run instead of prematurely aborting on a single test step. We can solve both problems by dividing each job into two phases: the build/installation phase and the test/lint phase, with a checkmark step in between. The strategy is simple: if any step before the checkmark step fails (the build phase), then abort all following steps. If any step after the checkmark fails (the test phase), then show that test as failed but continue running all tests. |
||
---|---|---|
.. | ||
api-docs-check.yml | ||
api-docs.yml | ||
backport.yml | ||
ci.yml | ||
codeql-analysis.yml | ||
commitlint.yml | ||
coverity-scan.yml | ||
env.sh | ||
labeler.yml | ||
notes.md | ||
release.yml | ||
remove-reviewers-on-draft.yml | ||
reviews.yml | ||
vim-patches.yml |