CI Pipeline Overview - amosproj/amos2025ss04-ai-driven-testing GitHub Wiki
Our Continuous Integration (CI) pipeline ensures code quality and enforces our teamβs Git workflow policies.
π§ͺ Quality Checks
The CI runs automatically on:
-
Every push
-
Every pull_request
It performs:
-
β Code formatting check using black
-
π§Ή Linting using flake8
It uses a Conda environment defined in backend/environment.yml, provisioned via GitHub Actions using setup-miniconda.
π PR Branch Enforcement
-
Only pull requests from the development branch are allowed to target main.
-
If a contributor tries to create a PR to main from any other branch, the CI will fail with:
-
β You can only create PRs to main from development
π Workflow Files
.github/workflows/ci.yml
β runs code quality checks
.github/workflows/enforce-pr-branch.ym
l β blocks PRs to main from non-development branches