Skip to content

Commit

Permalink
fix(ci): use correct profile for iai benches (#9081)
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhirin authored Jun 25, 2024
1 parent eb5217e commit 4984bc6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:
- name: Generate test vectors
run: cargo run --bin reth -- test-vectors tables
- name: Save baseline
run: cargo bench -p reth-db --bench iai --features test-utils -- --save-baseline=$BASELINE
run: cargo bench -p reth-db --bench iai --profile profiling --features test-utils -- --save-baseline=$BASELINE
- name: Checkout PR
uses: actions/checkout@v4
with:
clean: false
- name: Compare PR benchmarks
run: cargo bench -p reth-db --bench iai --features test-utils -- --baseline=$BASELINE
run: cargo bench -p reth-db --bench iai --profile profiling --features test-utils -- --baseline=$BASELINE
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
with:
cache-on-failure: true
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: cargo clippy --workspace --lib --examples --tests --benches --all-features --locked
env:
RUSTFLAGS: -D warnings
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ jobs:
with:
cache-on-failure: true
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run doctests
run: cargo test --doc --workspace --features "${{ matrix.network }}"

Expand Down

0 comments on commit 4984bc6

Please sign in to comment.