mirror of
https://github.com/katanemo/plano.git
synced 2026-05-03 04:42:49 +02:00
fix precommit
This commit is contained in:
parent
290ed4e9d6
commit
2ec46c704c
2 changed files with 4 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
|||
name: Run Python Tests
|
||||
name: Run Model Server tests
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -33,7 +33,6 @@ jobs:
|
|||
pip install -r requirements.txt # Or use pipenv install
|
||||
|
||||
# Step 4: Set PYTHONPATH and run tests
|
||||
- name: Run tests with pytest
|
||||
run: |
|
||||
export PYTHONPATH=.
|
||||
pytest --maxfail=5 --disable-warnings
|
||||
- name: Run model server tests with pytest
|
||||
run:
|
||||
PYTHONPATH=. pytest --maxfail=5 --disable-warnings
|
||||
3
.github/workflows/pre-commit.yml
vendored
3
.github/workflows/pre-commit.yml
vendored
|
|
@ -11,7 +11,4 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue