Tmp/orch ci test #1999
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: Workflow - Pull Request | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
types: [opened, synchronize, reopened, ready_for_review] | |
concurrency: | |
group: pr-checks-${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
update_db_version: | |
name: Update DB Version | |
if: github.event.pull_request.draft == false | |
uses: ./.github/workflows/db-version.yml | |
changelog_orchestrator: | |
name: Update Orchestrator Changelog | |
uses: ./.github/workflows/orchestrator-changelog.yml | |
linters: | |
name: Run linters | |
needs: update_db_version | |
uses: ./.github/workflows/linters.yml | |
rust_check: | |
name: Run check | |
if: github.event.pull_request.draft == false | |
uses: ./.github/workflows/rust-check.yml | |
linters_cargo: | |
name: Run Cargo linters | |
needs: rust_check | |
uses: ./.github/workflows/linters-cargo.yml | |
madara_coverage: | |
name: Run Madara Coverage | |
needs: update_db_version | |
secrets: inherit | |
uses: ./.github/workflows/coverage.yml | |
orchestrator_coverage: | |
name: Run Orchestrator Coverage | |
needs: update_db_version | |
secrets: inherit | |
uses: ./.github/workflows/orchestrator-coverage.yml | |
build: | |
name: Build Madara | |
needs: update_db_version | |
uses: ./.github/workflows/build.yml | |
js_test: | |
name: Run JS Tests | |
needs: build | |
uses: ./.github/workflows/starknet-js-test.yml | |
e2e_test: | |
name: Run E2E Tests | |
needs: build | |
uses: ./.github/workflows/e2e-test.yml | |
secrets: inherit |