-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Report coverage unconditionally on Travis #4053
Report coverage unconditionally on Travis #4053
Conversation
This raises the question about the Smoke Testing step… should I keep it and remove the sqlite job from test? That way if something is wrong with the unit tests we don't run a bazillion test jobs for nothing EDIT: it's not really duplicate the runs are on different versions of PHP |
Definitely. That's the idea. If there's a unit test failure, you don't want to wait 10 minutes until the DB2 job completes. Ideally, I'd like to not run tests until all static analysis phases succeed (which was the case before we moved some jobs to Actions) but I'm not sure how this could be implemented. |
I think this will be achieved by moving to GA, with job dependencies. BTW @bendavies , are you still planning to work on that? 🙏 🤞 |
Codecov Report
@@ Coverage Diff @@
## 2.10.x #4053 +/- ##
============================================
+ Coverage 73.16% 73.32% +0.16%
Complexity 5031 5031
============================================
Files 215 215
Lines 12825 12825
============================================
+ Hits 9383 9404 +21
+ Misses 3442 3421 -21
Continue to review full report at Codecov.
|
Looks good 👍 Please squash. |
Should I really? I mean I deliberately didn't, since it does not have to do with running coverage unconditionally… using the latest stable could be something we would want to do or revert independently, or maybe there is a link I don't see? |
Without the second commit, the first one fails on PHP 7.4. |
Oh all right then, didn't notice. |
pcov is fast enough for this to be acceptable.
976bc85
to
6c83f5a
Compare
Ok now continousphp is flaky too… |
I do have a branch that moves postgres and mysql tests to GitHub actions. |
While I like the idea as such, before we go full steam ahead, could we establish some expectations of the end result? E.g. Travis currently allows us to run 10 jobs in parallel (I believe it's a favor since the default for OSS is 5, may be outdated) and we execute ~40-50 jobs per build. Will we be able to do the same on GitHub? |
I think 20 as per https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#usage-limits There might be other reasons that would prevent migrating. |
I believe this is by design on any public CI. No secrets are currently used. |
Summary
pcov is fast enough for this to be acceptable.