Anjar Priandoyo

Notes

Github Actions: Software testing

leave a comment »

CI/CD Testing

FileRole
app.pyBusiness logic
test_app.pyAutomated control
pytestTesting engine
ci.ymlControl procedure
GitHub ActionsControl execution system

Continuous Integration

Continuous Integration (CI) is the automation pipeline (for example GitHub Actions or Jenkins), and automated tests (such as pytest) are the checks that validate the code.

name: Auditor CI/CD Pipeline
on:
push:
branches:
- main
jobs:
build-test-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: |
pytest
# CD demonstration (simulation)
- name: Deploy (Simulation)
run: |
echo "Deploying application..."
echo "Deployment successful!"
DimensionQA Testing WorkshopDevOps Engineering WorkshopCI/CD & Governance Workshop
Primary ObjectiveEnsure software quality through testing and defect detectionBuild and operate automated delivery systemsUnderstand automation controls, governance, and evidence in software delivery
FocusTest strategy, manual & automated testing, defect lifecycleInfrastructure, deployment, pipelines, automationCI/CD concepts, control points, audit evidence, risk
Tools UsedTesting tools (e.g. Selenium, manual test cases) and frameworks like pytestInfrastructure tools (Docker, Kubernetes), pipelines, cloud platformsAutomation pipelines like GitHub Actions or Jenkins
Use CaseValidate software meets requirements and quality standardsDeliver software faster and operate systems reliablyGovern automation, understand controls, and audit software delivery
StrengthDeep quality assurance and defect preventionOperational efficiency and delivery speedGovernance mindset and understanding of automation risks
WeaknessDoes not cover deployment or infrastructureRequires technical depth in infrastructureLess technical depth in coding/deployment
Target AudienceQA engineers, testers, quality managersDevOps engineers, platform engineersAuditors, governance professionals, managers
OutcomeBetter software qualityFaster and reliable deliveryBetter understanding of controls and automation evidence
Example ActivityWrite test cases and execute themBuild pipelines and deploy systemsAnalyze pipelines and map control points
Tools Knowledge RequiredModerate (testing frameworks)High (infrastructure & automation)Low to moderate (conceptual)

Keyword: Testing, CI/CD

Written by Anjar Priandoyo

Sabtu, Februari 21, 2026 pada 1:25 pm

Ditulis dalam Life

Tagged with

Tinggalkan komentar

Situs ini menggunakan Akismet untuk mengurangi spam. Pelajari bagaimana data komentar Anda diproses.

Rancang situs seperti ini dengan WordPress.com
Mulai