mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
run rust tests for all crates upon commit (#393)
This commit is contained in:
parent
fa089ef32d
commit
afa2142d93
1 changed files with 1 additions and 3 deletions
|
|
@ -25,9 +25,7 @@ repos:
|
||||||
name: cargo-test
|
name: cargo-test
|
||||||
language: system
|
language: system
|
||||||
types: [file, rust]
|
types: [file, rust]
|
||||||
# --lib is to only test the library, since when integration tests are made,
|
entry: bash -c "cd crates && cargo test --lib"
|
||||||
# they will be in a seperate tests directory
|
|
||||||
entry: bash -c "cd crates/llm_gateway && cargo test --lib"
|
|
||||||
|
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 23.1.0
|
rev: 23.1.0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue