ci: run real quality gates
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 1m8s
Deploy / Deploy Staging (push) Successful in 1m25s
Deploy / Deploy Production (push) Has been skipped

This commit is contained in:
Xiaoxia AI
2026-06-21 00:39:02 +08:00
parent b965d8d766
commit 50fb2c04df
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'