Skip to content

[FEAT] Set Up Continuous Integration#21

Merged
martian56 merged 3 commits intomainfrom
20-set-up-continuous-integration-with-github-actions
Dec 12, 2025
Merged

[FEAT] Set Up Continuous Integration#21
martian56 merged 3 commits intomainfrom
20-set-up-continuous-integration-with-github-actions

Conversation

@martian56
Copy link
Copy Markdown
Owner

@martian56 martian56 commented Dec 12, 2025

This pull request introduces a new GitHub Actions workflow to automate building and testing the API on pull requests and pushes to the main branch. The workflow sets up a PostgreSQL service, configures environment variables, installs dependencies, and runs the test suite to ensure code quality.

CI/CD Automation:

  • Adds a new workflow file .github/workflows/api-ci.yml that triggers on pull requests and pushes to main, sets up a PostgreSQL service, installs Python dependencies, and runs API tests using pytest.

Closes #20

@martian56 martian56 self-assigned this Dec 12, 2025
Copilot AI review requested due to automatic review settings December 12, 2025 05:27
@martian56 martian56 added enhancement New feature or request CI/CD API labels Dec 12, 2025
@github-project-automation github-project-automation Bot moved this to Todo in ChatOps Dec 12, 2025
@martian56 martian56 moved this from Todo to In review in ChatOps Dec 12, 2025
Copy link
Copy Markdown
Collaborator

@nadir2609 nadir2609 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good bro!

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a GitHub Actions CI workflow for the API component to automate building and testing on pull requests and pushes to the main branch. The workflow sets up a PostgreSQL test database, configures necessary environment variables, and runs the test suite using pytest.

Key Changes

  • Adds automated CI testing for the API with PostgreSQL service container
  • Configures Python 3.12 environment with dependency caching for faster builds
  • Sets up test database credentials and environment variables for test execution

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/api-ci.yml
Copy link
Copy Markdown
Collaborator

@valiyyaddin valiyyaddin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be enough to run CI action only on pull request but not on push main?

@martian56
Copy link
Copy Markdown
Owner Author

Wouldn't it be enough to run CI action only on pull request but not on push main?

Nice catch, will save us some CPU minutes :)

@martian56 martian56 merged commit 2e7436f into main Dec 12, 2025
4 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in ChatOps Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API CI/CD enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Set Up Continuous Integration with GitHub Actions

4 participants