Skip to content

Commit

Permalink
Merge pull request #589 from starkware-libs/dori/merge-main-v0.13.2-i…
Browse files Browse the repository at this point in the history
…nto-main-1724654462

Merge main-v0.13.2 into main
  • Loading branch information
dorimedini-starkware authored Aug 27, 2024
2 parents 2726f3d + 2ee9a06 commit 6e7ac49
Show file tree
Hide file tree
Showing 51 changed files with 256 additions and 108 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/blockifier_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ on:
- 'scripts/install_build_tools.sh'
- 'scripts/sequencer-ci.Dockerfile'

# On PR events, cancel existing CI runs on this same PR for this workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event.name == 'pull_request' }}

jobs:
featureless-build:
runs-on: starkware-ubuntu-20-04-medium
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/blockifier_compiled_cairo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ on:
- 'crates/blockifier/tests/feature_contracts_compatibility_test.rs'
- 'crates/blockifier/tests/requirements.txt'

# On PR events, cancel existing CI runs on this same PR for this workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event.name == 'pull_request' }}

jobs:
verify_cairo_file_dependencies:
runs-on: starkware-ubuntu-20-04-medium
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/committer_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,15 @@ on:
- 'crates/starknet_committer/**'
- 'crates/starknet_patricia/**'

# On PR events, cancel existing CI runs on this same PR for this workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event.name == 'pull_request' }}

jobs:
run-regression-tests:
runs-on: starkware-ubuntu-latest-small
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install_rust
Expand All @@ -49,6 +55,7 @@ jobs:

benchmarking:
runs-on: starkware-ubuntu-latest-small
if: ${{ github.event_name == 'pull_request' }}
steps:
# Checkout the base branch to get the old code.
- uses: actions/checkout@v4
Expand Down Expand Up @@ -110,7 +117,6 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
body: fs.readFileSync('bench_new.txt', 'utf8'),
path: 'Commits'
})
gcs-push:
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
- auto_merge_enabled
- edited

# On PR events, cancel existing CI runs on this same PR for this workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event.name == 'pull_request' }}

jobs:
commitlint:
runs-on: starkware-ubuntu-latest-small
Expand Down Expand Up @@ -90,6 +95,14 @@ jobs:
version: ${{env.PROTOC_VERSION}}
- run: cargo doc --workspace -r --document-private-items --no-deps

run-workspace-tests:
runs-on: starkware-ubuntu-latest-small
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install_rust
- uses: Swatinem/rust-cache@v2
- run: cargo test -p workspace_tests

run-tests:
runs-on: starkware-ubuntu-20-04-medium
steps:
Expand Down Expand Up @@ -118,7 +131,6 @@ jobs:
python3 -m venv ci
ci/bin/pip install -r scripts/requirements.txt
ci/bin/python scripts/run_tests.py --changes_only --commit_id ${{ github.event.pull_request.base.sha }}
ci/bin/python scripts/run_tests.py --changes_only --concurrency --commit_id ${{ github.event.pull_request.base.sha }}
env:
SEED: 0

Expand All @@ -129,7 +141,6 @@ jobs:
python3 -m venv ci
ci/bin/pip install -r scripts/requirements.txt
ci/bin/python scripts/run_tests.py
ci/bin/python scripts/run_tests.py --concurrency
env:
SEED: 0

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/merge_paths_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ on:
- 'scripts/merge_paths_test.py'
- 'scripts/merge_status.py'

# On PR events, cancel existing CI runs on this same PR for this workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event.name == 'pull_request' }}

jobs:
merge-paths-test:
runs-on: starkware-ubuntu-latest-small
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/papyrus_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ on:
merge_group:
types: [checks_requested]

# On PR events, cancel existing CI runs on this same PR for this workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event.name == 'pull_request' }}

env:
PROTOC_VERSION: v25.1

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/papyrus_docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ on:
- '.github/workflows/papyrus_docker-publish.yml'
- 'crates/papyrus**/**'

# On PR events, cancel existing CI runs on this same PR for this workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event.name == 'pull_request' }}

env:
REGISTRY: ghcr.io
REPO_NAME: ${{ github.repository }}
Expand Down
56 changes: 32 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6e7ac49

Please sign in to comment.