A0-2753: Local test for block sync in presence of reorgs #1578
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: PR commit | |
on: | |
merge_group: | |
pull_request: | |
branches: | |
- main | |
- 'release-*' | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
check-vars: | |
name: Check vars | |
uses: ./.github/workflows/_check-vars-and-secrets.yml | |
with: | |
check-secrets: false | |
check-excluded-packages: | |
name: Check excluded packages | |
uses: ./.github/workflows/_check-excluded-packages.yml | |
code-formatting: | |
needs: [check-vars] | |
name: Check code formatting | |
uses: ./.github/workflows/_check-code-formatting.yml | |
unit-tests-and-static-checks: | |
name: Unit tests and clippy | |
uses: ./.github/workflows/_unit-tests-and-static-checks.yml | |
build-production-node-and-runtime: | |
name: Build production node and runtime | |
uses: ./.github/workflows/_build-production-node-and-runtime.yml | |
store-production-node-and-runtime: | |
needs: [build-production-node-and-runtime] | |
name: Store production node and runtime artifacts | |
uses: ./.github/workflows/_store-production-node-and-runtime.yml | |
secrets: inherit | |
check-runtime-determinism: | |
needs: [build-production-node-and-runtime] | |
uses: ./.github/workflows/_check-runtime-determimism.yml | |
build-test-node-and-runtime: | |
name: Build test node and runtime | |
uses: ./.github/workflows/_build-test-node-and-runtime.yml | |
store-test-node-and-runtime: | |
needs: [build-test-node-and-runtime] | |
name: Store test node and runtime | |
uses: ./.github/workflows/_store-test-node-and-runtime.yml | |
secrets: inherit | |
build-test-node-image-and-e2e-client-image: | |
needs: [build-test-node-and-runtime] | |
uses: ./.github/workflows/_build-test-node-and-e2e-client-image.yml | |
run-e2e-tests: | |
name: Run e2e tests | |
needs: [build-test-node-image-and-e2e-client-image] | |
uses: ./.github/workflows/_run-e2e-tests.yml | |
check-e2e-test-suite-completion: | |
needs: [run-e2e-tests] | |
name: Check e2e test suite completion | |
if: ${{ !cancelled() }} | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: All e2e tests completed | |
run: | | |
# due to the fact GitHub treats skipped jobs as success, and when any of dependant | |
# jobs fail, this check will be skipped, we need to check status manually | |
jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}' |