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: test all output formats #3683

Merged
merged 2 commits into from
Dec 16, 2023

Conversation

charles-cooper
Copy link
Member

right now only certain output formats are tested in the main compiler test harness, namely bytecode, abi, metadata and some natspec outputs. in the past, there have been issues where output formats get broken but don't get detected until release testing or even after release.

this commit adds a hook in get_contract() to generate all output formats, which will help detect broken output formats sooner.

What I did

How I did it

How to verify it

Commit message

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

right now only certain output formats are tested in the main compiler
test harness, namely bytecode, abi, metadata and some natspec outputs.
in the past, there have been issues where output formats get broken but
don't get detected until release testing or even after release.

this commit adds a hook in `get_contract()` to generate all output
formats, which will help detect broken output formats sooner.
@codecov-commenter
Copy link

codecov-commenter commented Dec 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cbac5ab) 83.81% compared to head (4e97bbd) 83.98%.
Report is 4 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3683      +/-   ##
==========================================
+ Coverage   83.81%   83.98%   +0.16%     
==========================================
  Files          91       91              
  Lines       12775    12769       -6     
  Branches     2860     2867       +7     
==========================================
+ Hits        10708    10724      +16     
+ Misses       1643     1624      -19     
+ Partials      424      421       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@charles-cooper charles-cooper enabled auto-merge (squash) December 16, 2023 02:02
@charles-cooper charles-cooper merged commit 919080e into vyperlang:master Dec 16, 2023
84 checks passed
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.

3 participants