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
15 changes: 15 additions & 0 deletions .github/workflows/pulsar-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -859,16 +859,31 @@ jobs:
# It cleans up the binaries in the same job in order to not spin up another runner for basically doing nothing.
pulsar-ci-checks-completed:
name: "Pulsar CI checks completed"
if: always()
runs-on: ubuntu-20.04
timeout-minutes: 10
needs: [
'changed_files_job',
'unit-tests',
'integration-tests',
'system-tests',
'flaky-system-tests',
'macos-build'
]
steps:
- name: Check that all required jobs were completed successfully
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
run: |
if [[ ! ( \
"${{ needs.unit-tests.result }}" == "success" \
&& "${{ needs.integration-tests.result }}" == "success" \
&& "${{ needs.system-tests.result }}" == "success" \
&& "${{ needs.macos-build.result }}" == "success" \
) ]]; then
echo "Required jobs haven't been completed successfully."
exit 1
fi

- name: checkout
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
uses: actions/checkout@v2
Expand Down