-
-
Notifications
You must be signed in to change notification settings - Fork 920
Move coverage jobs to CircleCI #1888
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
Conversation
We can try, but it annoys me to have 3 different CI systems (AppVeyor, Travis and Circle), it means more maintenance. Also, Circle is not very used in the PHP community. It means a harder learning curve for contributors. |
I don't think we could switch entirely to CircleCI without slowing down the build process, because CircleCI only allows 4 containers at a time. But it's possible if we manage to speed up the build further. :) Yes, there's a bit of learning curve, but it's the same for Travis CI. Many people might be using it, but it's a different matter to actually understand it. If anything, CircleCI is easier because it's mostly just running in a customized Docker image. Travis CI has more magic. |
You can see the builds of my fork on CircleCI here: https://circleci.com/gh/teohhanhui/workflows/api-platform-core/tree/ci%2Fparallel-jobs |
I agree with this article, we could split our builds on Travis CI and CircleCI to take full advantage of the free resources provided by both. https://www.codementor.io/adiroiban/circle-ci-2-0-for-open-source-projects-hsi1rpufs |
I've added Circle CI to the org, can you push force? |
73fcd13
to
a762be5
Compare
I have to note that the So we'll need to disable the coveralls integration for pull requests unless we find a better way. |
It's a blocker to me 😞: the main benefit of Coveralls is to be able to quickly check that the code coverage of a PR is good enough. |
We could switch to codecov:
|
Ok for me, but please also keep coveralls for the main branches so we don't loose the history. |
a762be5
to
86032a5
Compare
@dunglas Let me know once you grant access to Codecov. And install the integration to the API Platform organization: https://github.com/integration/codecov |
86032a5
to
b4ec6dc
Compare
What do you think about also using CircleCI for lint jobs? It should simplify our Travis CI config further... And it'll likely allow the Travis CI build to complete faster as there is one less job in the queue. |
Good idea! |
But I think we should not expand the scope of this PR further before we verify that things work as expected. Lol... |
a803111
to
fbab510
Compare
Codecov Report
@@ Coverage Diff @@
## 2.2 #1888 +/- ##
======================================
Coverage ? 96.44%
Complexity ? 2600
======================================
Files ? 191
Lines ? 6526
Branches ? 0
======================================
Hits ? 6294
Misses ? 232
Partials ? 0
Continue to review full report at Codecov.
|
df9eff3
to
04deeba
Compare
754fd87
to
2fff96f
Compare
2fff96f
to
a4825cc
Compare
This should be good to merge. 😃 |
cool stuff thanks @teohhanhui |
you can still easily parallelize behat. you just have to
|
😱 🙀 It's fast enough as it is. So I think it's okay for now? 😜 |
yep, just saying it's possible :) |
Move coverage jobs to CircleCI
I propose to use CircleCI for the test coverage jobs. Also includes some minor CI / test-related fixes.
Todo: