8
8
- synchronize
9
9
- edited
10
10
paths :
11
- - ' .github/workflows/committer_ci.yml'
12
- - ' Cargo.toml'
13
- - ' Cargo.lock'
14
- - ' crates/starknet_committer_and_os_cli/**'
15
- - ' crates/starknet_api/**'
16
- - ' crates/starknet_committer/**'
17
- - ' crates/starknet_patricia/**'
18
- - ' scripts/dependencies.sh'
11
+ - " .github/workflows/committer_ci.yml"
12
+ - " Cargo.toml"
13
+ - " Cargo.lock"
14
+ - " crates/starknet_committer_and_os_cli/**"
15
+ - " crates/starknet_api/**"
16
+ - " crates/starknet_committer/**"
17
+ - " crates/starknet_patricia/**"
18
+ - " scripts/dependencies.sh"
19
19
20
20
env :
21
21
RUSTFLAGS : " -D warnings -C link-arg=-fuse-ld=lld"
@@ -31,7 +31,7 @@ concurrency:
31
31
32
32
jobs :
33
33
run-regression-tests :
34
- runs-on : starkware- ubuntu-24. 04-medium
34
+ runs-on : namespace-profile-medium- ubuntu-24- 04-amd64
35
35
if : ${{ github.event_name == 'pull_request' }}
36
36
steps :
37
37
- uses : actions/checkout@v4
42
42
id : setup-pypy
43
43
with :
44
44
python-version : " pypy3.9"
45
- cache : ' pip'
45
+ cache : " pip"
46
46
- run : ln -s '${{ steps.setup-pypy.outputs.python-path }}' /usr/local/bin/pypy3.9
47
47
- env :
48
48
LD_LIBRARY_PATH : ${{ env.Python3_ROOT_DIR }}/bin
@@ -57,13 +57,13 @@ jobs:
57
57
uses : " google-github-actions/auth@v2"
58
58
with :
59
59
credentials_json : ${{ secrets.COMMITER_PRODUCTS_EXT_WRITER_JSON }}
60
- - uses : ' google-github-actions/setup-gcloud@v2'
60
+ - uses : " google-github-actions/setup-gcloud@v2"
61
61
- run : echo "BENCH_INPUT_FILES_PREFIX=$(cat ./crates/starknet_committer_and_os_cli/src/committer_cli/tests/flow_test_files_prefix)" >> $GITHUB_ENV
62
62
- run : gcloud storage cp -r gs://committer-testing-artifacts/$BENCH_INPUT_FILES_PREFIX/* ./crates/starknet_committer_and_os_cli/test_inputs
63
63
- run : cargo test -p starknet_committer_and_os_cli --release -- --include-ignored test_regression
64
64
65
65
benchmarking :
66
- runs-on : starkware- ubuntu-24. 04-medium
66
+ runs-on : namespace-profile-medium- ubuntu-24- 04-amd64
67
67
if : ${{ github.event_name == 'pull_request' }}
68
68
steps :
69
69
# Checkout the base branch to get the old code.
77
77
id : setup-pypy
78
78
with :
79
79
python-version : " pypy3.9"
80
- cache : ' pip'
80
+ cache : " pip"
81
81
- run : ln -s '${{ steps.setup-pypy.outputs.python-path }}' /usr/local/bin/pypy3.9
82
82
- env :
83
83
LD_LIBRARY_PATH : ${{ env.Python3_ROOT_DIR }}/bin
93
93
uses : " google-github-actions/auth@v2"
94
94
with :
95
95
credentials_json : ${{ secrets.COMMITER_PRODUCTS_EXT_WRITER_JSON }}
96
- - uses : ' google-github-actions/setup-gcloud@v2'
96
+ - uses : " google-github-actions/setup-gcloud@v2"
97
97
- run : echo "OLD_BENCH_INPUT_FILES_PREFIX=$(cat ./crates/starknet_committer_and_os_cli/src/committer_cli/tests/flow_test_files_prefix)" >> $GITHUB_ENV
98
98
- run : gcloud storage cp -r gs://committer-testing-artifacts/$OLD_BENCH_INPUT_FILES_PREFIX/* ./crates/starknet_committer_and_os_cli/test_inputs
99
99
@@ -141,12 +141,12 @@ jobs:
141
141
with :
142
142
token : ${{ secrets.GITHUB_TOKEN }}
143
143
issue-number : ${{ github.event.pull_request.number }}
144
- comment-author : ' github-actions[bot]'
144
+ comment-author : " github-actions[bot]"
145
145
body-includes : Benchmark movements
146
146
147
147
- name : Create comment
148
148
# If the PR number is found and the comment is not found, create a new comment.
149
- if : github.event_name == 'pull_request'
149
+ if : github.event_name == 'pull_request'
150
150
&& steps.find-benchmark-comment.outputs.comment-id == ''
151
151
uses : starkware-libs/create-or-update-comment@v4
152
152
with :
@@ -156,7 +156,7 @@ jobs:
156
156
157
157
- name : Update comment
158
158
# If the PR number is found and the comment exists, update it.
159
- if : github.event_name == 'pull_request'
159
+ if : github.event_name == 'pull_request'
160
160
&& steps.find-benchmark-comment.outputs.comment-id != ''
161
161
uses : starkware-libs/create-or-update-comment@v4
162
162
with :
0 commit comments