From afa2142d939d877518f1fdc48f9d5030f7a9644b Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Wed, 5 Feb 2025 18:57:01 -0800 Subject: [PATCH] run rust tests for all crates upon commit (#393) --- .pre-commit-config.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1e577bbf..5aa68ad3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,9 +25,7 @@ repos: name: cargo-test language: system types: [file, rust] - # --lib is to only test the library, since when integration tests are made, - # they will be in a seperate tests directory - entry: bash -c "cd crates/llm_gateway && cargo test --lib" + entry: bash -c "cd crates && cargo test --lib" - repo: https://github.com/psf/black rev: 23.1.0