Skip to content

Merge main-v0.14.1-committer into main #21099

Merge main-v0.14.1-committer into main

Merge main-v0.14.1-committer into main #21099

name: Blockifier-Reexecution-CI
on:
pull_request:
types:
- opened
- reopened
- synchronize
- edited
paths:
# Other than code-related changes, all changes related to the blockifier should trigger the build.
- ".github/workflows/blockifier_reexecution_ci.yml"
- "Cargo.lock"
- "Cargo.toml"
- "crates/blockifier/**"
- "crates/blockifier_reexecution/**"
- "scripts/dependencies.sh"
- "scripts/install_build_tools.sh"
- "scripts/sequencer-ci.Dockerfile"
env:
RUSTFLAGS: "-D warnings"
# On PR events, cancel existing CI runs on this same PR for this workflow.
# Also, create different concurrency groups for different pushed commits, on push events.
concurrency:
group: >
${{ github.workflow }}-
${{ github.ref }}-
${{ github.event_name == 'pull_request' && 'PR' || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
blockifier_reexecution:
runs-on: namespace-profile-medium-ubuntu-24-04-amd64
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/bootstrap
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Download the blockifier re-execution test data.
- id: auth
uses: "google-github-actions/auth@v2"
with:
credentials_json: ${{ secrets.SA_REEXECUTION_ARTIFACTS_READ_ACCESS_KEY }}
- uses: "google-github-actions/setup-gcloud@v2"
- run: echo "REEXECUTION_INPUT_FILES_PREFIX=$(cat ./crates/blockifier_reexecution/resources/offline_reexecution_files_prefix)" >> $GITHUB_ENV
- run: gcloud storage cp -r gs://reexecution_artifacts/$REEXECUTION_INPUT_FILES_PREFIX/resources/* ./crates/blockifier_reexecution/resources/
# Run blockifier re-execution tests.
- run: cargo test --release -p blockifier_reexecution -- --include-ignored
# Compile the rpc-tests, without running them.
- run: cargo test --release -p blockifier_reexecution --features blockifier_regression_https_testing --no-run