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

chore: remove unneeded conversion webhooks + introduce unit tests for conversion functions #385

Merged
merged 10 commits into from
Mar 16, 2023

Conversation

odubajDT
Copy link
Contributor

@odubajDT odubajDT commented Mar 14, 2023

This PR

  • removes unneeded conversion webhooks from spike versions
  • adapt conversion functions
  • introduces unit tests for conversion functions
  • removes conversion webhook tests from ginkgo testsuite
  • bumps ginkgo version to v2
  • introduce codecov.yaml for configuring test-coverage computations

Related Issues

Part of #370

… conversion functions

Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
@codecov
Copy link

codecov bot commented Mar 14, 2023

Codecov Report

Merging #385 (7a0b9c6) into main (b03fb14) will increase coverage by 6.60%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #385      +/-   ##
==========================================
+ Coverage   63.91%   70.51%   +6.60%     
==========================================
  Files           5       11       +6     
  Lines         629      814     +185     
==========================================
+ Hits          402      574     +172     
- Misses        201      213      +12     
- Partials       26       27       +1     
Impacted Files Coverage Δ
...re/v1alpha2/featureflagconfiguration_conversion.go 95.45% <100.00%> (ø)
...ore/v1alpha2/flagsourceconfiguration_conversion.go 100.00% <100.00%> (ø)
...ore/v1alpha3/flagsourceconfiguration_conversion.go 100.00% <100.00%> (ø)

... and 3 files with indirect coverage changes

Flag Coverage Δ
component-tests 63.91% <ø> (?)
unit-tests 21.13% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

@odubajDT odubajDT marked this pull request as ready for review March 14, 2023 09:34
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
@odubajDT odubajDT force-pushed the refactoring/webhooks branch 2 times, most recently from 72a8ad6 to 403f7ec Compare March 14, 2023 10:25
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
go.mod Show resolved Hide resolved
.github/workflows/pr-checks.yml Show resolved Hide resolved
odubajDT and others added 2 commits March 14, 2023 14:34
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Makefile Outdated Show resolved Hide resolved
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Makefile Outdated Show resolved Hide resolved
Co-authored-by: Skye Gill <gill.skye95@gmail.com>
Signed-off-by: odubajDT <93584209+odubajDT@users.noreply.github.com>
@skyerus skyerus merged commit dd34801 into open-feature:main Mar 16, 2023
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.

4 participants