ci: run real quality gates

This commit is contained in:
Xiaoxia AI
2026-06-21 00:39:02 +08:00
parent a33bead056
commit 3e2b579e03
3 changed files with 30 additions and 14 deletions
+6 -7
View File
@@ -61,16 +61,15 @@ jobs:
- name: Run code quality checks
run: |
python -m black --version
python -m isort --version-number
python -m flake8 --version
bandit --version
echo "✅ Code quality environment is ready"
python -m compileall -q apps packages tests
python -m black --check apps packages tests
python -m isort --check-only apps packages tests
python -m flake8 apps packages tests --count --statistics
bandit -r apps packages -q
- name: Run tests
run: |
pytest --version
echo "✅ Test environment is ready"
python -m pytest tests -q
- name: Build summary
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'