Skip to content

feat: Add GitHub Actions CI workflow - #1

Merged
safetymonkey merged 2 commits into
mainfrom
add-github-actions-ci
Aug 1, 2025
Merged

feat: Add GitHub Actions CI workflow#1
safetymonkey merged 2 commits into
mainfrom
add-github-actions-ci

Conversation

@safetymonkey

Copy link
Copy Markdown
Owner

This commit introduces a new GitHub Actions workflow to run the test suite automatically on new commits.

The following changes were made:

  • Added a ci.yml workflow file to run tests on push to main and on pull requests.
  • Fixed the pyproject.toml configuration and added __init__.py files to resolve packaging errors.
  • Repaired the test suite by mocking environment variables and external services to ensure tests can run in a CI environment.

This commit introduces a new GitHub Actions workflow to run the test suite automatically on new commits.

The following changes were made:
- Added a `ci.yml` workflow file to run tests on push to `main` and on pull requests.
- Fixed the `pyproject.toml` configuration and added `__init__.py` files to resolve packaging errors.
- Repaired the test suite by mocking environment variables and external services to ensure tests can run in a CI environment.
@safetymonkey
safetymonkey requested a review from Copilot August 1, 2025 19:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 automated CI/CD testing capabilities by adding a GitHub Actions workflow that runs tests on push to main and on pull requests. The changes include fixing test environment isolation and packaging configuration to ensure the test suite can run reliably in CI environments.

  • Added GitHub Actions CI workflow for automated testing
  • Fixed test mocking to properly isolate environment variables and external dependencies
  • Updated packaging configuration to resolve build errors

Reviewed Changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/ci.yml Adds CI workflow to run tests on Python 3.11 for pushes and PRs
tests/test_bot.py Improves test isolation with environment variable mocking and fixes command invocation
pyproject.toml Updates build configuration to properly package the src directory

Comment thread tests/test_bot.py Outdated
Comment thread .github/workflows/ci.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@safetymonkey
safetymonkey merged commit 64ac2e9 into main Aug 1, 2025
1 check passed
@safetymonkey
safetymonkey deleted the add-github-actions-ci branch August 1, 2025 19:50
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.

2 participants