fix precommit

This commit is contained in:
cotran 2024-10-16 16:21:53 -07:00
parent 290ed4e9d6
commit 2ec46c704c
2 changed files with 4 additions and 8 deletions

View file

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

View file

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