mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
fix precommit
This commit is contained in:
parent
dd353f7285
commit
a38b5989cd
2 changed files with 3 additions and 1 deletions
2
.github/workflows/pre-commit.yml
vendored
2
.github/workflows/pre-commit.yml
vendored
|
|
@ -12,3 +12,5 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v3
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
with:
|
||||
python-version: "3.10"
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ repos:
|
|||
- id: python-tests
|
||||
name: Run Python Tests with pytest
|
||||
language: system
|
||||
entry: bash -c "python -m venv venv && source venv/bin/activate && cd model_server && pip install -r requirements.txt && pytest --maxfail=5 --disable-warnings"
|
||||
entry: bash -c "python -m venv venv && source venv/bin/activate && cd model_server && pip install -r requirements.txt && PYTHONPATH=. pytest --maxfail=5 --disable-warnings"
|
||||
types: [python]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue