diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc78cdd8..f67d90a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,7 +97,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - run: cargo test - run-bench-tests: + run-regression-tests: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -112,7 +112,7 @@ jobs: - run: echo "BENCH_INPUT_FILES_PREFIX=$(cat ./crates/committer_cli/src/tests/flow_test_files_prefix)" >> $GITHUB_ENV - run: gcloud storage cp gs://committer-testing-artifacts/$BENCH_INPUT_FILES_PREFIX/tree_flow_inputs.json ./crates/committer_cli/benches/tree_flow_inputs.json - run: gcloud storage cp gs://committer-testing-artifacts/$BENCH_INPUT_FILES_PREFIX/committer_flow_inputs.json ./crates/committer_cli/benches/committer_flow_inputs.json - - run: cargo test --release -- --include-ignored test_benchmark + - run: cargo test --release -- --include-ignored test_regression benchmarking: runs-on: ubuntu-latest diff --git a/crates/committer_cli/src/tests.rs b/crates/committer_cli/src/tests.rs index 3aa83293..9709423d 100644 --- a/crates/committer_cli/src/tests.rs +++ b/crates/committer_cli/src/tests.rs @@ -1,4 +1,4 @@ -#[cfg(test)] -pub mod benchmark_tests; pub mod python_tests; +#[cfg(test)] +pub mod regression_tests; pub mod utils; diff --git a/crates/committer_cli/src/tests/benchmark_tests.rs b/crates/committer_cli/src/tests/regression_tests.rs similarity index 98% rename from crates/committer_cli/src/tests/benchmark_tests.rs rename to crates/committer_cli/src/tests/regression_tests.rs index 510015c1..70928074 100644 --- a/crates/committer_cli/src/tests/benchmark_tests.rs +++ b/crates/committer_cli/src/tests/regression_tests.rs @@ -82,7 +82,7 @@ impl<'de> Deserialize<'de> for TreeRegressionInput { #[ignore = "To avoid running the benchmark test in Coverage or without the --release flag."] #[tokio::test(flavor = "multi_thread")] -pub async fn test_benchmark_single_tree() { +pub async fn test_regression_single_tree() { let TreeRegressionInput { tree_flow_input: TreeFlowInput { @@ -117,7 +117,7 @@ pub async fn test_benchmark_single_tree() { #[ignore = "To avoid running the benchmark test in Coverage or without the --release flag."] #[tokio::test(flavor = "multi_thread")] -pub async fn test_benchmark_committer_flow() { +pub async fn test_regression_committer_flow() { let CommitterRegressionInput { committer_input, contract_states_root: expected_contract_states_root,