Skip to content

Add GitHub Actions workflow for linting, tests, and Docker build#1

Merged
dwetmore merged 1 commit into
mainfrom
codex/add-github-actions-workflow-for-ci
Feb 10, 2026
Merged

Add GitHub Actions workflow for linting, tests, and Docker build#1
dwetmore merged 1 commit into
mainfrom
codex/add-github-actions-workflow-for-ci

Conversation

@dwetmore

Copy link
Copy Markdown
Owner

Motivation

  • Ensure pull requests and pushes to main run linting, tests, and a Docker build to catch issues early in this FastAPI project.
  • Target the application code in app/ and validate the app/Dockerfile can build a container image.

Description

  • Add .github/workflows/ci.yml which triggers on pull_request and push to main and defines a build job running on ubuntu-latest.
  • The job checks out the repo, sets up Python 3.11 with actions/setup-python@v5, and installs dependencies from app/requirements.txt plus pytest and ruff.
  • The workflow runs ruff check app for linting, runs pytest -q (with the committed exit-code handling), and runs docker build -t chatbot-app -f app/Dockerfile app to verify the image builds.

Testing

  • No automated tests were executed as part of this change; the workflow file was added and will run on GitHub for future pull requests and pushes to main.

Codex Task

@dwetmore dwetmore merged commit e81c0a5 into main Feb 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant