ci: run real quality gates
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user