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

feat(ci) enable Ginkgo xunit results in CircleCI #2652

Merged
merged 1 commit into from
Aug 25, 2021
Merged

feat(ci) enable Ginkgo xunit results in CircleCI #2652

merged 1 commit into from
Aug 25, 2021

Conversation

jpeach
Copy link
Contributor

@jpeach jpeach commented Aug 24, 2021

Summary

Ginkgo reporters are deprecated, pending Ginkgo V2, but it's still the
only way to enable JUnit XML test reports. Enabling this in CircleCI
causes the CircleCI results UI to display failing tests by name, and
also collect some analytics about passing tests.

Full changelog

N/A

Issues resolved

N/A

Documentation

N/A

Testing

  • Unit tests
  • E2E tests
  • Manual testing on Universal
  • Manual testing on Kubernetes

Backwards compatibility

  • Add backport-to-stable label if the code is backwards compatible. Otherwise, list breaking changes.

@lahabana
Copy link
Contributor

Yes please :)

@codecov-commenter
Copy link

codecov-commenter commented Aug 24, 2021

Codecov Report

Merging #2652 (87f3b1f) into master (14b527b) will increase coverage by 0.02%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2652      +/-   ##
==========================================
+ Coverage   51.96%   51.99%   +0.02%     
==========================================
  Files         871      871              
  Lines       49505    49513       +8     
==========================================
+ Hits        25727    25743      +16     
+ Misses      21698    21686      -12     
- Partials     2080     2084       +4     
Impacted Files Coverage Δ
pkg/test/ginkgo.go 81.25% <66.66%> (-18.75%) ⬇️
pkg/core/resources/manager/cache.go 84.41% <0.00%> (+2.59%) ⬆️
pkg/core/bootstrap/autoconfig.go 54.46% <0.00%> (+8.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 14b527b...87f3b1f. Read the comment docs.

Ginkgo reporters are deprecated, pending Ginkgo V2, but it's still the
only way to enable JUnit XML test reports. Enabling this in CircleCI
causes the CircleCI results UI to display failing tests by name, and
also collect some analytics about passing tests.

Signed-off-by: James Peach <james.peach@konghq.com>
@jpeach jpeach changed the title Test whether circleci can use Ginkgo xunit. feat(ci) enable Ginkgo xunit results in CircleCI Aug 25, 2021
@jpeach jpeach marked this pull request as ready for review August 25, 2021 00:18
@jpeach jpeach requested a review from a team as a code owner August 25, 2021 00:18
Copy link
Contributor

@bartsmykla bartsmykla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jpeach jpeach merged commit 4582f3e into kumahq:master Aug 25, 2021
@jpeach jpeach deleted the test/ginkgo-xunit-results branch August 25, 2021 04:47
mergify bot pushed a commit that referenced this pull request Aug 25, 2021
Ginkgo reporters are deprecated, pending Ginkgo V2, but it's still the
only way to enable JUnit XML test reports. Enabling this in CircleCI
causes the CircleCI results UI to display failing tests by name, and
also collect some analytics about passing tests.

Signed-off-by: James Peach <james.peach@konghq.com>
(cherry picked from commit 4582f3e)
bartsmykla pushed a commit that referenced this pull request Aug 25, 2021
Ginkgo reporters are deprecated, pending Ginkgo V2, but it's still the
only way to enable JUnit XML test reports. Enabling this in CircleCI
causes the CircleCI results UI to display failing tests by name, and
also collect some analytics about passing tests.

Signed-off-by: James Peach <james.peach@konghq.com>
(cherry picked from commit 4582f3e)

Co-authored-by: James Peach <james.peach@konghq.com>
nikita15p pushed a commit to nikita15p/kuma that referenced this pull request Sep 28, 2021
Ginkgo reporters are deprecated, pending Ginkgo V2, but it's still the
only way to enable JUnit XML test reports. Enabling this in CircleCI
causes the CircleCI results UI to display failing tests by name, and
also collect some analytics about passing tests.

Signed-off-by: James Peach <james.peach@konghq.com>
nikita15p pushed a commit to nikita15p/kuma that referenced this pull request Sep 28, 2021
Ginkgo reporters are deprecated, pending Ginkgo V2, but it's still the
only way to enable JUnit XML test reports. Enabling this in CircleCI
causes the CircleCI results UI to display failing tests by name, and
also collect some analytics about passing tests.

Signed-off-by: James Peach <james.peach@konghq.com>
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.

None yet

4 participants