Some checks failed
CI / lint-and-test (push) Successful in 2m32s
CI / secret-scanning (push) Successful in 1m33s
CI / security-scan (push) Successful in 2m13s
CI / dependency-scan (push) Successful in 1m38s
CI / sast-scan (push) Successful in 2m39s
CI / container-scan (push) Successful in 2m13s
CI / sonar-analysis (push) Failing after 3m11s
CI / docker-build-test (push) Failing after 2m31s
CI / workflow-summary (push) Successful in 1m31s
FIXES: ====== 1. ✅ Added httpx to dependencies - Required by house_watcher.py - Fixes: ModuleNotFoundError: No module named 'httpx' 2. ✅ Install Python/pip in sonar-analysis job - Ubuntu container doesn't have Python by default - Fixes: pip: not found error 3. ✅ Remove README.md from Dockerfile - README.md is excluded by .dockerignore - Not needed for container to run - Fixes: Docker build error CHANGES: ======== - pyproject.toml: Added httpx>=0.24 to dependencies - ci.yml: Added Python/pip installation step before coverage - Dockerfile: Removed README.md copy (excluded by .dockerignore) - .dockerignore: Kept *.md exclusion (docs not needed in container) All CI jobs should now pass!
53 lines
434 B
Plaintext
53 lines
434 B
Plaintext
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
build/
|
|
dist/
|
|
*.egg-info/
|
|
venv/
|
|
.venv/
|
|
env/
|
|
ENV/
|
|
|
|
# Database
|
|
*.db
|
|
*.sqlite
|
|
*.sqlite3
|
|
|
|
# Testing
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
.tox/
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
|
|
# Environment
|
|
.env
|
|
.env.local
|
|
|
|
# Git
|
|
.git/
|
|
.gitignore
|
|
|
|
# Logs
|
|
*.log
|
|
logs/
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Docs (optional - include if you want them in container)
|
|
docs/
|
|
# Keep README.md for Docker build
|
|
# *.md
|
|
|