-
Notifications
You must be signed in to change notification settings - Fork 103
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
test(x/ecocredit): move regen prefix configuration into module root #1253
Conversation
Thanks for the contribution @wgwz! This is a step in the right direction. The configuration was previously on a test setup basis so the next step will be updating the addresses used in tests that did not have the configuration. You can run It looks like
After updating the addresses in the basket submodule, you'll find more tests failing in marketplace and elsewhere, so you'll need to update the addresses within the ecocredit module wherever tests are failing due to the use of a cosmos address. |
@ryanchristo thanks for the pointers! following those suggestions i think this should be a bit closer now. i think the tests were passing in my local environment. at the very least, i know i made some failures go away (i think... 😅 ) that said, i wanted to ask about some output i'm seeing when running the tests. i'm getting lots of warnings, should i be concerned about those? do we have known fixes/workarounds? i'm also seeing some stuff mark as "FAIL". https://gist.github.com/wgwz/259eced61244492298bf5137e6a79ad1 |
Oh boy. I've never actually seen the output for tests when running on a Mac. All the warnings related to go-keychain are ok to ignore. This has been a known issue and I think we're just waiting for the later version of the sdk although we might be able to use a replace directive in the meantime. The failed app tests are also not an issue for me but they will be resolved with #1255. I didn't realize these were failing when running tests locally on a Mac but the reason makes sense. The only errors I'm seeing now are these errors, which can be resolved by simply removing the |
Also, you'll need to resolve conflicts before the CI can run. The |
Other than the import errors and resolving the conflicts, this looks great! Thank you! |
Codecov Report
@@ Coverage Diff @@
## master #1253 +/- ##
==========================================
+ Coverage 80.02% 80.11% +0.09%
==========================================
Files 234 234
Lines 21556 21447 -109
==========================================
- Hits 17250 17183 -67
+ Misses 3023 2992 -31
+ Partials 1283 1272 -11
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work. Looks good to me.
Thanks @ryanchristo feels good to have a contribution, thanks for the guidance on it :-) |
Description
Closes: #1243
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change