Skip to content

Commit a029fad

Browse files
committed
fix: stop running benchmarks in rust CI
1 parent 55ffc2b commit a029fad

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
uses: Swatinem/rust-cache@v2
8787

8888
- name: Run cargo tests
89-
run: cargo test --all-targets
89+
run: cargo test --lib --tests
9090

9191
- name: Run clippy
9292
run: cargo clippy --all-targets -- -D warnings

tests/test_project_metadata.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ def test_ci_uses_uv_sync_and_runs_pre_commit() -> None:
4848
assert "uv sync --locked --only-group test" in workflow
4949
assert "uv run pytest -x -v" in workflow
5050
assert "uv run pre-commit run --all-files" in workflow
51+
assert "cargo test --lib --tests" in workflow
52+
assert "cargo test --all-targets" not in workflow
5153

5254

5355
def test_pyproject_declares_uv_dependency_groups() -> None:

0 commit comments

Comments
 (0)