run rust tests for all crates upon commit (#393)

This commit is contained in:
Adil Hafeez 2025-02-05 18:57:01 -08:00 committed by GitHub
parent fa089ef32d
commit afa2142d93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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