Skip to content
AgileLogics
5 min read

Production Deployment and CI/CD

Prerequisites: Testing, Virtual environments

CI/CD (Continuous Integration/Continuous Deployment) automatically runs a project's tests and deploys it whenever code changes — instead of manually running tests and copying files to a server by hand.

# .github/workflows/test.yml
name: Tests
on: [push]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: pip install -r requirements.txt
      - run: pytest

This runs the full test suite automatically on every push — catching a broken change before it ever reaches production, without anyone having to remember to run it manually.