-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run benchmarks as tests in CI (#797)
Out benchmarking suite is actually a pretty valuable end-to-end test, especially when working on compute related work. This PR adds it as part of CI so we don't accidentally break it (as we've done many times in recent weeks). --------- Co-authored-by: Robert Kruszewski <[email protected]>
- Loading branch information
1 parent
a79eba3
commit 83dffc5
Showing
7 changed files
with
59 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ permissions: | |
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
RUST_BACKTRACE: 1 | ||
|
||
jobs: | ||
build: | ||
|
@@ -54,11 +55,27 @@ jobs: | |
name: 'miri' | ||
runs-on: ubuntu-latest | ||
env: | ||
RUST_BACKTRACE: 1 | ||
MIRIFLAGS: -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-backtrace=full | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/cleanup | ||
- uses: ./.github/actions/setup-rust | ||
- name: Run tests with Miri | ||
run: cargo miri test | ||
|
||
bench-test: | ||
name: 'bench test' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/cleanup | ||
|
||
- uses: ./.github/actions/setup-rust | ||
- uses: ./.github/actions/setup-python | ||
# Required to run benchmarks | ||
- name: Install DuckDB | ||
uses: opt-nc/[email protected] | ||
with: | ||
version: v1.0.0 | ||
- name: Rust Bench as test | ||
run: cargo bench --benches -- --test |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters