fix: use python -m for ruff and pytest in CI
This commit is contained in:
@@ -25,10 +25,10 @@ jobs:
|
|||||||
run: pip install -r requirements.txt
|
run: pip install -r requirements.txt
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: ruff check services/
|
run: python -m ruff check services/
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: pytest tests/ -x --tb=short -q || true
|
run: python -m pytest tests/ -x --tb=short -q || true
|
||||||
|
|
||||||
build-services:
|
build-services:
|
||||||
needs: lint-and-test
|
needs: lint-and-test
|
||||||
|
|||||||
Reference in New Issue
Block a user