kyma-project / kyma-companion

A tool that brings AI to Kyma
Apache License 2.0
2 stars 6 forks source link

Prepare Basic Tests #26

Open Teneroy opened 2 weeks ago

Teneroy commented 2 weeks ago

Description: Prepare and introduce basic tests such as build tests, health check tests, and unit tests. These tests should run against pull requests (PRs) and prevent merging if any tests fail. Integrate these tests into the existing testing pipeline.

Tasks:

  1. Prepare Basic Tests:
    • Develop build tests to ensure the application builds successfully.
    • Create health check tests to verify the application's basic functionality and endpoints. (docker run)
    • Implement an action to ensure we can't merge the PR until tests are passed.
    • Implement linting checks
  2. Integrate Tests into Pipeline:
    • Add the prepared tests to the testing pipeline.
    • Ensure tests run automatically against all PRs.
    • Configure the pipeline to block merging of PRs with failing tests.

Acceptance Criteria: