This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
refactor: refactor the benchmark logic into a struct to be reusable (… #1320
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: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v[0-9].** | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
paths: | |
- 'crates/blockifier/feature_contracts/cairo0/**' | |
jobs: | |
verify_cairo_file_dependencies: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
components: rustfmt | |
toolchain: nightly-2024-01-12 | |
- uses: Swatinem/rust-cache@v2 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
cache: 'pip' | |
- run: | |
pip install -r crates/blockifier/tests/requirements.txt; | |
cargo test verify_feature_contracts -- --include-ignored |