Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nabilshadman/programming-skills-github-actions-lab
GitHub Actions lab in Programming Skills
https://github.com/nabilshadman/programming-skills-github-actions-lab
ci-cd cicd github programming software-development
Last synced: 10 days ago
JSON representation
GitHub Actions lab in Programming Skills
- Host: GitHub
- URL: https://github.com/nabilshadman/programming-skills-github-actions-lab
- Owner: nabilshadman
- Created: 2022-01-30T06:54:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-04T12:21:39.000Z (23 days ago)
- Last Synced: 2024-12-04T13:26:26.426Z (23 days ago)
- Topics: ci-cd, cicd, github, programming, software-development
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub Actions Lab
A hands-on laboratory for learning and implementing GitHub Actions CI/CD workflows. This project demonstrates practical implementation of continuous integration using GitHub's native automation tools.
[![test](https://github.com/nabilshadman/gha-lab/actions/workflows/test.yml/badge.svg)](https://github.com/nabilshadman/gha-lab/actions/workflows/test.yml)
## 🎯 Overview
This lab provides practical experience with GitHub Actions, focusing on automated testing and continuous integration principles. Through simple Python examples, it demonstrates workflow configuration, automation triggers, and CI pipeline setup.
## ⚙️ Implementation
The project includes:
- Basic Python script (`hello.py`) for testing workflow execution
- GitHub Actions workflow configuration
- Automated test execution on push/pull request
- Status badge integration## 🔧 Workflow Structure
```yaml
.github/
└── workflows/
└── test.yml # Main workflow configuration
```## 🚀 Getting Started
1. Clone the repository
```bash
git clone https://github.com/yourusername/gha-lab.git
cd gha-lab
```2. Examine the workflow file at `.github/workflows/test.yml`
3. Make changes to trigger the workflow:
```bash
# Modify hello.py
git add .
git commit -m "test: trigger workflow"
git push
```4. Monitor the workflow execution in the Actions tab of your GitHub repository
## 📊 Status Tracking
The status badge above provides real-time feedback on workflow execution status. Click the badge to view detailed workflow runs and logs.
## 🔍 Learning Outcomes
- Understanding GitHub Actions workflow structure
- Implementing basic CI/CD pipelines
- Configuring automated tests
- Monitoring workflow execution
- Interpreting workflow results## 📚 Resources
- [GitHub Actions Documentation](https://docs.github.com/en/actions)
- [Workflow Syntax Reference](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions)
- [GitHub Actions Marketplace](https://github.com/marketplace?type=actions)