mirror of
https://github.com/katanemo/plano.git
synced 2026-05-03 04:42:49 +02:00
add test and pre commit hook
This commit is contained in:
parent
cf612409f0
commit
ee36e403d1
9 changed files with 351 additions and 7 deletions
|
|
@ -25,6 +25,11 @@ repos:
|
|||
# --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 arch && cargo test -p intelligent-prompt-gateway --lib"
|
||||
- id: python-tests
|
||||
name: Run Python Tests with pytest
|
||||
language: system
|
||||
entry: bash -c "cd model_server && pytest --maxfail=5 --disable-warnings"
|
||||
types: [python]
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 23.1.0
|
||||
hooks:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue