Setting up a CI/CD pipeline for every push

CI/CD pipeline configured · ci.pipeline

Why it matters

A pipeline is the one reviewer that never skips a step: build, tests, linters and scanners run on every change, not only when someone remembers.

How to fix it

What to do: Create .github/workflows/ci.yml for automated checks.

name: CI
on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with: {python-version: "3.12"}
- run: pip install -r requirements.txt
- run: pytest --tb=short -q

Does your repository pass this check?

Free for public GitHub repositories, no account needed. 50+ DevOps and security checks in about ten seconds.

Related checks