Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches: [main]
pull_request:
branches: [main]
merge_group:

permissions:
contents: read
Expand Down Expand Up @@ -156,3 +157,25 @@ jobs:
# genuine `:q` and self-reports via cquit (exit 0 = fixed, 1 = regressed).
- name: Reject-on-quit regression gate (#238)
run: nvim --headless -u NONE -l scripts/repro_issue_238.lua

required:
name: Required
runs-on: ubuntu-latest
needs:
- unit-tests
- integration-tests
if: ${{ always() }}

steps:
- name: Check required jobs
env:
UNIT_TESTS_RESULT: ${{ needs.unit-tests.result }}
INTEGRATION_TESTS_RESULT: ${{ needs.integration-tests.result }}
run: |
echo "unit-tests: $UNIT_TESTS_RESULT"
echo "integration-tests: $INTEGRATION_TESTS_RESULT"

if [ "$UNIT_TESTS_RESULT" != "success" ] || [ "$INTEGRATION_TESTS_RESULT" != "success" ]; then
echo "One or more required jobs failed."
exit 1
fi
Loading