-
Notifications
You must be signed in to change notification settings - Fork 391
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!: remove flag -transpile
from gno test
#2050
feat!: remove flag -transpile
from gno test
#2050
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2050 +/- ##
==========================================
+ Coverage 49.96% 49.98% +0.02%
==========================================
Files 578 578
Lines 77864 77808 -56
==========================================
- Hits 38903 38896 -7
+ Misses 35839 35790 -49
Partials 3122 3122
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
cc @moul wdyt? it seems that transpiling mostly served the purpose of attempting to build the transpiled go source; ie. static checking. though, effectively, this is moved to gno lint in #1730 . I tend to agree with @harry-hov to separate the concerns |
My goal with this flag was to have « gno test » exiting 0 of everything is OK and 1 of anything is bad. ‘before this flag, we basically had to run two commands to « test ». ideally we should remove the flag but have a stronger type checking. as soon as we’re testing to transpire on the CI, I’m fine removing the flag. |
I agree. I think @thehowl is already working on this!
We already have workflow for transpiling gno/.github/workflows/examples.yml Line 33 in 5a64b25
Infact we never run |
Let's remove the flag. Let's keep |
We'll add type checking in gno test with #1730 |
The `-transpile` flag in the `gno test` command duplicates the functionality of the standalone `gno transpile` command. Removed the unnecessary `-transpile` flag from the `gno test` command. `gno test` should only be focused on testing! Co-authored-by: Morgan <[email protected]>
The
-transpile
flag in thegno test
command duplicates the functionality of the standalonegno transpile
command. Removed the unnecessary-transpile
flag from thegno test
command.gno test
should only be focused on testing!