neovim/.github/workflows
dundargoc 0aba176171
ci: skip tests if build fails (#20908)
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.
2022-11-04 13:26:12 +01:00
..
api-docs-check.yml ci(api-docs): run in drafts as well 2022-05-29 00:55:12 +02:00
api-docs.yml ci(api-docs): show required changes with color 2022-05-28 21:42:40 +02:00
backport.yml ci(backport): bump version to v0 2022-10-08 14:24:03 +02:00
ci.yml ci: skip tests if build fails (#20908) 2022-11-04 13:26:12 +01:00
codeql-analysis.yml build: remove python linting #20851 2022-10-29 10:42:10 -07:00
commitlint.yml ci(commitlint): only trigger on PRs to master #18679 2022-05-22 08:03:06 -07:00
coverity-scan.yml ci: use ubuntu-latest for vim-patches and coverity-scan 2022-05-28 14:22:42 -04:00
env.sh ci: use GHA default clang for asan, tsan jobs #20846 2022-10-29 12:11:56 -07:00
labeler.yml ci: bump github actions versions #18616 2022-05-20 20:45:10 -07:00
notes.md docs(release): suggest "xattr" for macos release #19100 2022-06-26 08:46:37 -07:00
release.yml ci: use ubuntu docker container to build appimage 2022-10-07 15:13:40 +02:00
remove-reviewers-on-draft.yml ci: bump github actions versions #18616 2022-05-20 20:45:10 -07:00
reviews.yml ci: bump github actions versions #18616 2022-05-20 20:45:10 -07:00
vim-patches.yml vim-patch: bump VIM_VERSION from 8.0 => 8.1 #20762 2022-10-21 03:56:09 -07:00