-
Notifications
You must be signed in to change notification settings - Fork 58
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
Run only tests for PRs and run coverage report on main #1762
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1762 +/- ##
===========================================
- Coverage 72.77% 56.88% -15.89%
===========================================
Files 57 96 +39
Lines 720 1299 +579
Branches 236 451 +215
===========================================
+ Hits 524 739 +215
- Misses 167 521 +354
- Partials 29 39 +10
see 39 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn 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.
Definitely goodness in here
"@synthetixio/hardhat-storage", | ||
"@synthetixio/sample-project", | ||
|
||
# "@synthetixio/legacy-market", # tests fail |
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.
Tests shouldn't fail, what can I say. The tests were refreshed just a couple weeks ago.
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.
f897fe1
to
bf6c805
Compare
…ble) on main branch only
Even though we run coverage report on each commit we never actually submit those reports to Codecov
@dbeal-eth suggested not to run cov report on PRs. That makes sense as
main
takes like 15min to do cov report (because running on hardhat net is slow!)Because of that now we only run tests on PRs (must be pretty quick) and coverage report (which also includes all the tests) will only run on main branch
This should speed up day to day dev a lot buy running tests much much faster in CI