Github Actions CI

Configuring GitHub Actions workflows for continuous integration, testing, and deployment automation.

Lord1Egypt Updated 2 repo stars

File contents

Github Actions Ci

Overview

GitHub Actions is an API-driven automation framework to build, test, and deploy code directly from GitHub.

When to Use This Skill

Use to automate tests on pull requests, publish packages, or trigger CD pipelines.

Quick Start (with runnable code examples)

# Example GitHub Action Workflow (.github/workflows/test.yml)
name: Python Test Suite

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: Set up Python
      uses: actions/setup-python@v5
      with:
        python-version: '3.11'
    - name: Install dependencies
      run: pip install -r requirements.txt
    - name: Run test cases
      run: pytest

Advanced Usage

Configuring secret management, matrix builds, job environments, and cache caching keys.

Key References

Dependencies

  • None (Configuration syntax)

Lord1Egypt/ai-skillforge/tree/main/skills/gemini/github-actions-ci commit f95be4e761

Frequently asked questions

npx skillmds@latest add lord1egypt/github-actions-ci