Skip to content

Add GitHub Actions CI/CD pipeline#1

Open
FisherSkyi wants to merge 1 commit into
mainfrom
feature/add-cicd-pipeline
Open

Add GitHub Actions CI/CD pipeline#1
FisherSkyi wants to merge 1 commit into
mainfrom
feature/add-cicd-pipeline

Conversation

@FisherSkyi
Copy link
Copy Markdown
Owner

Summary

  • Adds a 3-job GitHub Actions CI pipeline (.github/workflows/ci.yml)
  • Adds tests/test_imports.py with smoke tests for all major dependencies
  • Uses CPU-only PyTorch in CI to keep runs fast without GPU runners

Jobs

Job What it does
Code Quality flake8 style checks + black format verification
Smoke Test Installs all deps (incl. ImageMagick for Wand) and runs import tests
Unit Tests Runs full pytest suite (smoke test must pass first)

Test plan

  • Verify CI workflow appears under the Actions tab after merge
  • Confirm all three jobs pass on a clean push to main
  • Confirm a PR with a syntax error triggers a failing lint check

🤖 Generated with Claude Code

- 3-job workflow: lint (flake8 + black), smoke-test (import checks), unit tests
- CPU-only PyTorch install keeps CI fast without GPU runners
- Includes ImageMagick system dep for Wand library
- Adds tests/test_imports.py: smoke tests for all major deps including
  ResNet and SwinT model instantiation (no dataset required)
- Triggers on push/PR to main and master branches

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
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