Skip to content

Lab03#3

Merged
flowelx merged 5 commits intomasterfrom
lab03
Feb 18, 2026
Merged

Lab03#3
flowelx merged 5 commits intomasterfrom
lab03

Conversation

@flowelx
Copy link
Owner

@flowelx flowelx commented Feb 7, 2026

Goal

Add Continuous Integration pipeline for the FastAPI application.

Changes

  1. Added Unit Tests
  2. Implemented GitHub Actions CI Pipeline
  3. Applied CI Best Practices & Security

Testing

# Run tests locally
cd app_python
pytest tests/test_app.py -v

# Run linter
flake8 . --count --show-source --statistics

# Run security scan
pip install pip-audit
pip-audit -r requirements.txt

Artifacts & Screenshots

  1. Docker Images
  2. app_python/docs/screenshots/successful-ci.jpg - Successful Workflow Run
  3. app_python/docs/screenshots/status-badge.jpg - Status Badge in README

Checklist

Unit Testing:

  • Testing framework chosen with justification
  • Tests exist in app_python/tests/ directory
  • All endpoints have test coverage
  • Tests pass locally
  • README updated with testing instructions

GitHub Actions CI:

  • Workflow file exists at .github/workflows/python-ci.yml
  • Workflow includes: dependency installation, linting, testing
  • Workflow includes: Docker Hub login, build, and push
  • Versioning strategy chosen and implemented
  • Docker images tagged with at least 2 tags
  • Workflow triggers configured appropriately
  • All workflow steps pass successfully
  • Docker Hub shows versioned images
  • Link to successful workflow run provided

CI Best Practices:

  • Status badge added to README and working
  • Dependency caching implemented
  • Security scanning integrated
  • At least 3 CI best practices applied
  • Documentation complete

@flowelx flowelx merged commit aebfad0 into master Feb 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant