fix(ci): align tests workflow with release gate

This commit is contained in:
Xiaoxia AI
2026-06-25 12:01:39 +08:00
parent e841bcca12
commit e894622b30
+4 -4
View File
@@ -58,7 +58,7 @@ jobs:
shell: sh
run: |
set -eu
python -m pytest tests/integration/ -v --cov=packages --cov=apps --cov-report=xml --cov-report=term
PYTHONPATH="$PWD/apps/api:$PWD" python -m pytest tests/unit -q
lint:
runs-on: ubuntu-latest
@@ -104,16 +104,16 @@ jobs:
shell: sh
run: |
set -eu
python -m black --check packages/ apps/ tests/
python -m black --check alembic apps packages tests scripts
- name: Run Flake8
shell: sh
run: |
set -eu
python -m flake8 packages/ apps/ tests/ --max-line-length=120 --extend-ignore=E203,W503
python -m flake8 apps packages tests --count --statistics
- name: Run MyPy
shell: sh
run: |
set -eu
python -m mypy packages/ apps/ --ignore-missing-imports
python -m mypy packages apps --ignore-missing-imports