Skip to content

Commit 5852cde

Browse files
committed
Update GH action
1 parent 0949fc4 commit 5852cde

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/run_benchmarks.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
defaults:
1515
run:
16-
working-directory: ${{ github.workspace }}/bench
16+
working-directory: ./bench
1717
steps:
1818
- uses: actions/checkout@v4
1919
- uses: software-mansion/setup-scarb@v1
@@ -28,18 +28,14 @@ jobs:
2828
override: true
2929
components: rustfmt, clippy
3030
- uses: baptiste0928/cargo-install@v1
31-
3231
with:
3332
crate: cargo-nextest
3433
locked: true
3534
- name: Cargo clean
36-
3735
run: cargo clean
3836
- name: Delete Cargo.lock
39-
4037
run: rm -f Cargo.lock
4138
- name: Install Risc0 toolchain
42-
4339
run: |
4440
cargo install cargo-binstall
4541
yes | cargo binstall cargo-risczero
@@ -60,17 +56,12 @@ jobs:
6056
- name: Setup Virtual Env
6157
run: python -m venv .env; source .env/bin/activate;
6258
- name: Run linear regression benchmarks across all frameworks
63-
6459
run: source .env/bin/activate; cargo nextest run benchmarking_tests::tests::run_benchmarks_::tests_0 --test-threads 1
65-
- name: Run randsom forest benchmarks across all frameworks
66-
60+
- name: Run random forest benchmarks across all frameworks
6761
run: source .env/bin/activate; cargo nextest run benchmarking_tests::tests::run_benchmarks_::tests_1 --test-threads 1
6862
- name: Run svm classification benchmarks across all frameworks
69-
7063
run: source .env/bin/activate; cargo nextest run benchmarking_tests::tests::run_benchmarks_::tests_2 --test-threads 1
7164
- name: Run tree ensemble regression benchmarks across all frameworks
72-
7365
run: source .env/bin/activate; cargo nextest run benchmarking_tests::tests::run_benchmarks_::tests_3 --test-threads 1
7466
- name: Pretty Print benchmarks.json
75-
7667
run: jq '.' benchmarks.json # Pretty print the benchmarks.json file

0 commit comments

Comments
 (0)