blockifier: add tests to get_execution_info_v3 #3403
Workflow file for this run
This file contains hidden or 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: Blockifier-Compiled-Cairo | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| paths: | |
| - ".github/workflows/blockifier_compiled_cairo.yml" | |
| - "crates/apollo_compile_to_casm/src/constants.rs" # Contains the Cairo1 compiler version. | |
| - "crates/apollo_infra_utils/src/cairo0_compiler.rs" # Contains the Cairo0 compiler version. | |
| - "crates/blockifier_test_utils/**" | |
| - "scripts/dependencies.sh" | |
| 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: | |
| verify_cairo_file_dependencies: | |
| runs-on: namespace-profile-medium-ubuntu-24-04-amd64 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/bootstrap | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| # Setup pypy and link to the location expected by .cargo/config.toml. | |
| - uses: actions/setup-python@v5 | |
| id: setup-pypy | |
| with: | |
| python-version: "pypy3.9" | |
| cache: "pip" | |
| - run: ln -s '${{ steps.setup-pypy.outputs.python-path }}' /usr/local/bin/pypy3.9 | |
| - env: | |
| LD_LIBRARY_PATH: ${{ env.Python3_ROOT_DIR }}/bin | |
| run: echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}" >> $GITHUB_ENV | |
| - run: pip install -r crates/blockifier_test_utils/resources/blockifier-test-utils-requirements.txt | |
| - name: Verify cairo contract recompilation (both cairo versions). | |
| run: cargo test -p blockifier_test_utils --test feature_contracts_compatibility_test -- --include-ignored --nocapture |