ci-main.yml)| ⬅️ Back | 🏠 Docs Root |
This GitHub Actions workflow is triggered on every Pull Request targeting the main branch. Its primary purpose is to ensure the quality and stability of the code before it is merged into the main branch, which represents the stable codebase. It performs comprehensive linting, type checking, unit/integration tests, and verifies that Docker images can be built successfully.
pull_requestmainquality-and-testsThis job performs static code analysis and runs the test suite.
ubuntu-latestruff linter to check for code style violations and potential errors.mypy.pytest test suite.
SECRET_KEY and ENVIRONMENT are set for the test run.build-checkThis job verifies that all Docker images required for the project can be built successfully. This ensures that the application can be packaged and deployed without issues.
ubuntu-latestdeploy/backend/Dockerfile).
push: false: The image is built but not pushed to a registry.cache-from, cache-to: Uses GitHub Actions cache for Docker layers to speed up builds.deploy/bot/Dockerfile).deploy/worker/Dockerfile).deploy/nginx/Dockerfile).