cyberark / secretless-broker

Secure your apps by making them Secretless
Apache License 2.0
234 stars 40 forks source link

Report combined coverage results to CodeClimate #1477

Closed szh closed 2 years ago

szh commented 2 years ago

Desired Outcome

After adding code coverage for integration tests and cleanup of false coverage when no tests - code coverage was around 65% with changes from @diverdane and @szh as reflected in Cobertura, but Code Climate still shows about 40%. We are not reporting the merged coverage data to Code Climate.

Implemented Changes

Report combined coverage of unit and integration tests to Code Climate, as we do for Cobertura. To do this, we wait to upload results to Code Climate until after we run the integration tests and combine the coverage data.

Connected Issue/Story

CyberArk internal issue link: ONYX-17825

Definition of Done

At least 1 todo must be completed in the sections below for the PR to be merged.

Changelog

Test coverage

Documentation

Behavior

Security

codeclimate[bot] commented 2 years ago

Code Climate has analyzed commit b0902a7d and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 70.7% (30.6% change).

View more on Code Climate.

adamouamani commented 2 years ago

Thanks @szh - Changes look good to me!