Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal to Add Unit Tests and CI Workflow Using GitHub Actions #9

Open
legendkartik45 opened this issue Nov 1, 2024 · 0 comments
Open

Comments

@legendkartik45
Copy link

legendkartik45 commented Nov 1, 2024

I propose adding unit tests to improve code reliability and establishing a CI workflow using GitHub Actions to run these tests automatically on each pull request and commit. This setup will help maintain code quality and streamline development by catching potential issues early and providing contributors with immediate feedback.

@richardyhz @alanalanlu Do let me know how this sounds, I will probably work on this over the weekend. Thanks.

vishwamartur added a commit to vishwamartur/Integuru that referenced this issue Nov 1, 2024
Related to Integuru-AI#9

Add unit tests and CI workflow using GitHub Actions.

* **Add GitHub Actions Workflow**: Create `.github/workflows/ci.yml` to run tests on push and pull request.
  - Set up Python 3.12 using `actions/setup-python`.
  - Install dependencies using `poetry`.
  - Run tests using `pytest`.

* **Add Unit Tests**: Create `tests/test_integration_agent.py` to test `IntegrationAgent` class.
  - Write unit tests for `end_url_identify_agent` method.
  - Write unit tests for `input_variables_identifying_agent` method.
  - Write unit tests for `dynamic_part_identifying_agent` method.

* **Update README**: Add instructions for running unit tests and details about the CI workflow.
  - Add instructions for running unit tests using `pytest`.
  - Add details about the CI workflow using GitHub Actions.
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

No branches or pull requests

1 participant