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

Setup CodeCov integration #175

Closed
eguzki opened this issue Apr 28, 2023 · 0 comments · Fixed by #212
Closed

Setup CodeCov integration #175

eguzki opened this issue Apr 28, 2023 · 0 comments · Fixed by #212
Assignees
Labels
good first issue Good for newcomers

Comments

@eguzki
Copy link
Contributor

eguzki commented Apr 28, 2023

https://app.codecov.io/gh/Kuadrant

@eguzki eguzki added the good first issue Good for newcomers label Apr 28, 2023
@art-tapin art-tapin self-assigned this Jul 11, 2023
@art-tapin art-tapin linked a pull request Jul 11, 2023 that will close this issue
art-tapin added a commit that referenced this issue Jul 19, 2023
art-tapin added a commit that referenced this issue Jul 19, 2023
art-tapin added a commit that referenced this issue Jul 24, 2023
- Added UNIT_DIRS and INTEGRATION_DIRS variables to specify directories test packages.
- Modified the 'test-unit' and 'integration-test' recipes to run tests for the directories specified in UNIT_DIRS/INTEGRATION_DIRS and generate separate coverage reports for each directory.

- Changed 'clean-cov' target to remove the 'coverage' directory instead of just 'cover.out'.

These changes improve the test organization and ensure separate coverage reports for unit and integration tests. The 'clean-cov' target now removes the entire 'coverage' directory, cleaning up all coverage reports.
@KevFan KevFan moved this from To do to In Progress in Kuadrant Service Protection Jul 26, 2023
art-tapin added a commit that referenced this issue Aug 1, 2023
art-tapin added a commit that referenced this issue Aug 1, 2023
* gh workflow, codecov: Add codecov gh actions integration for unit & integration tests (#175)

* codecov: Create and set up repository codecov.yaml config (#175)

* makefile, refactor: Update Makefile for unit & integration tests (#175)

- Added UNIT_DIRS and INTEGRATION_DIRS variables to specify directories test packages.
- Modified the 'test-unit' and 'integration-test' recipes to run tests for the directories specified in UNIT_DIRS/INTEGRATION_DIRS and generate separate coverage reports for each directory.

- Changed 'clean-cov' target to remove the 'coverage' directory instead of just 'cover.out'.

These changes improve the test organization and ensure separate coverage reports for unit and integration tests. The 'clean-cov' target now removes the entire 'coverage' directory, cleaning up all coverage reports.

* gitignore: Add folder with test coverages to .gitignore (#175)

* codecov, refactor: Remove CODECOV_TOKEN because the repo is public

* readme, codecov: Add codecov status badge to README (#175)

* codecov: Add api/ to codecov report & exclude api/external (#175)

* Makefile, refactor: Implemented recursive directory scanning (#175)

kudos to @KevFan

* codecov, refactor: Update .github/codecov.yaml api/v1beta1 component (#175)

Co-authored-by: Kevin Fan <[email protected]>

* codecov, refactor: Ignore controller-gen generated code (#175)

Co-authored-by: Kevin Fan <[email protected]>

* codecov: Add CODECOV_TOKEN despite repo being public to make CI/CD stable (#175)

Read more at: https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954

Co-authored-by: Kevin Fan <[email protected]>

---------

Co-authored-by: Kevin Fan <[email protected]>
@github-project-automation github-project-automation bot moved this from In Progress to To test in Kuadrant Service Protection Aug 1, 2023
alexsnaps pushed a commit that referenced this issue Aug 9, 2023
* gh workflow, codecov: Add codecov gh actions integration for unit & integration tests (#175)

* codecov: Create and set up repository codecov.yaml config (#175)

* makefile, refactor: Update Makefile for unit & integration tests (#175)

- Added UNIT_DIRS and INTEGRATION_DIRS variables to specify directories test packages.
- Modified the 'test-unit' and 'integration-test' recipes to run tests for the directories specified in UNIT_DIRS/INTEGRATION_DIRS and generate separate coverage reports for each directory.

- Changed 'clean-cov' target to remove the 'coverage' directory instead of just 'cover.out'.

These changes improve the test organization and ensure separate coverage reports for unit and integration tests. The 'clean-cov' target now removes the entire 'coverage' directory, cleaning up all coverage reports.

* gitignore: Add folder with test coverages to .gitignore (#175)

* codecov, refactor: Remove CODECOV_TOKEN because the repo is public

* readme, codecov: Add codecov status badge to README (#175)

* codecov: Add api/ to codecov report & exclude api/external (#175)

* Makefile, refactor: Implemented recursive directory scanning (#175)

kudos to @KevFan

* codecov, refactor: Update .github/codecov.yaml api/v1beta1 component (#175)

Co-authored-by: Kevin Fan <[email protected]>

* codecov, refactor: Ignore controller-gen generated code (#175)

Co-authored-by: Kevin Fan <[email protected]>

* codecov: Add CODECOV_TOKEN despite repo being public to make CI/CD stable (#175)

Read more at: https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954

Co-authored-by: Kevin Fan <[email protected]>

---------

Co-authored-by: Kevin Fan <[email protected]>
@pehala pehala moved this from To test to Done in Kuadrant Service Protection Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants