Skip to content

Commit 2cb6076

Browse files
committed
forgot to commit
1 parent 785b6f3 commit 2cb6076

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/code_check.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Python Code Check
22

33
on:
44
push:
5-
# For manual triggering
65
workflow_dispatch:
76

87
permissions:
@@ -24,18 +23,15 @@ jobs:
2423
with:
2524
python-version: "${{ env.PYTHON_VERSION }}"
2625

27-
- name: Install dependencies
26+
- name: Install uv package manager
2827
run: |
29-
python -m pip install --upgrade pip setuptools wheel
30-
pip install -r requirements.txt
31-
pip install pylint
28+
python -m pip install --upgrade uv setuptools
29+
uv synv --dev
3230
3331
- name: Lint with pylint
34-
env:
35-
PYTHONPATH: ${{ github.workspace }}
3632
run: |
37-
pylint middleware
33+
pylint middleware_api tests
3834
39-
- name: Test with python unittest
35+
- name: Test with pytest
4036
run: |
41-
python -m unittest discover -s middleware -p "test_*.py"
37+
pytest middleware --maxfail=1 --disable-warnings -q

0 commit comments

Comments
 (0)