diff --git a/.github/workflows/blockifier_ci.yml b/.github/workflows/blockifier_ci.yml index f5a994f2fd..efe871d12c 100644 --- a/.github/workflows/blockifier_ci.yml +++ b/.github/workflows/blockifier_ci.yml @@ -8,7 +8,15 @@ on: tags: - v[0-9].** paths: + - '.github/workflows/blockifier_ci.yml' + - 'Cargo.toml' + - 'Cargo.lock' + - 'blockifier.Dockerfile' + - 'build_native_blockifier.sh' - 'crates/blockifier/**' + - 'crates/native_blockifier/**' + - 'scripts/install_build_tools.sh' + - 'scripts/requirements.txt' pull_request: types: @@ -18,7 +26,15 @@ on: - auto_merge_enabled - edited paths: + - '.github/workflows/blockifier_ci.yml' + - 'Cargo.toml' + - 'Cargo.lock' + - 'blockifier.Dockerfile' + - 'build_native_blockifier.sh' - 'crates/blockifier/**' + - 'crates/native_blockifier/**' + - 'scripts/install_build_tools.sh' + - 'scripts/requirements.txt' jobs: featureless-build: diff --git a/.github/workflows/blockifier_compiled_cairo.yml b/.github/workflows/blockifier_compiled_cairo.yml index c4111b1118..75b932409b 100644 --- a/.github/workflows/blockifier_compiled_cairo.yml +++ b/.github/workflows/blockifier_compiled_cairo.yml @@ -7,14 +7,18 @@ on: tags: - v[0-9].** paths: + - '.github/workflows/blockifier_compiled_cairo.yml' - 'crates/blockifier/feature_contracts/cairo0/**' + - 'scripts/requirements.txt' pull_request: types: - opened - reopened - synchronize paths: + - '.github/workflows/blockifier_compiled_cairo.yml' - 'crates/blockifier/feature_contracts/cairo0/**' + - 'scripts/requirements.txt' jobs: verify_cairo_file_dependencies: @@ -38,4 +42,4 @@ jobs: - run: pip install -r crates/blockifier/tests/requirements.txt; - cargo test verify_feature_contracts -- --include-ignored + cargo test -p blockifier verify_feature_contracts -- --include-ignored diff --git a/.github/workflows/blockifier_coverage.yml b/.github/workflows/blockifier_coverage.yml index fd5541d041..3ec8c79603 100644 --- a/.github/workflows/blockifier_coverage.yml +++ b/.github/workflows/blockifier_coverage.yml @@ -3,10 +3,14 @@ name: Blockifier-Coverage on: pull_request: paths: + - '.github/workflows/blockifier_coverage.yml' - 'crates/blockifier/**' + - 'crates/native_blockifier/**' push: paths: + - '.github/workflows/blockifier_coverage.yml' - 'crates/blockifier/**' + - 'crates/native_blockifier/**' jobs: coverage: diff --git a/.github/workflows/blockifier_post-merge.yml b/.github/workflows/blockifier_post-merge.yml index 4de0e4e9a9..b9bc6cd01e 100644 --- a/.github/workflows/blockifier_post-merge.yml +++ b/.github/workflows/blockifier_post-merge.yml @@ -5,7 +5,11 @@ on: types: - closed paths: + - '.github/workflows/blockifier_post-merge.yml' - 'crates/blockifier/**' + - 'crates/native_blockifier/**' + - 'scripts/requirements.txt' + jobs: if_merged: if: github.event.pull_request.merged == true @@ -29,4 +33,4 @@ jobs: - run: | pip install -r crates/blockifier/tests/requirements.txt - cargo test -- --include-ignored + cargo test -p blockifier -p native_blockifier -- --include-ignored