DevOps & Deployment December 17, 2025 1 min read

CI/CD Pipeline with GitHub Actions

Automate testing and deployment with GitHub Actions.

D
James Miller
Database administrator expert in PostgreSQL
372 views

Table of Contents

  • Loading table of contents...

GitHub Actions CI/CD

Automate your workflow with GitHub Actions.

Basic Workflow

# .github/workflows/ci.yml
name: CI

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-python@v4
        with:
          python-version: '3.11'
      - run: pip install -r requirements.txt
      - run: python -m pytest
{# Provenance for articles generated from a source document. Rendered here rather than stored in the body so it stays accurate and cannot be edited away, and so the sealed draft stays purely generated. #}

Related Articles

Discussion 0

No comments yet. Be the first to start the discussion!

Leave a Comment

Comments are reviewed before they appear.

Write a comment