-
Notifications
You must be signed in to change notification settings - Fork 31
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
Added CodeCov coverage report support #322
Added CodeCov coverage report support #322
Conversation
eafa94d
to
e329c12
Compare
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.
For consistency use single quotes
5c62003
to
89d139e
Compare
Welcome to Codecov 🎉Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment. Thanks for integrating Codecov - We've got you covered ☂️ |
2a4121f
to
e8baa67
Compare
We need to lock phpunit version because coverage report is broken with PHP 7.4, Symfony 5.4 and phpunit 8. With this constellation, code coverage did not work. One solution is to lock the phpunit version, another is to create a .ci/github/phpunit/phpunit.xml.dist file and lock the version only in that file. Both solutions have their advantages and disadvantages.
|
40a5f27
to
a760792
Compare
I don't mind locking it as long as tests runs and are green :) |
The CI breaks now because bors expects these jobs:
So I think either restore using with |
6f03376
to
f6c39c7
Compare
Both solutions are good. If editing bors.toml causes further problems, I'll put an wildcard in the name of the job instead. |
The less changes are better :) |
|
Now it looks like it will find it:
|
Why it's not working with v4? Adding a new feature should use last versions 🤔 |
10fd1ec
to
307eeaa
Compare
The problem was caused by the fact that I only transferred to v4 on download, not on upload. v3 uploaded, v4 downloaded. |
I still suggest to revert changes about wildcard, because in repo settings jobs are made as required with previous names, and I don't have permissions to do that |
b95327b
to
a49234f
Compare
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.
Good job 🎉
After #323 CI will be green (I can't review/merge my own PR's)
Before merging this we should probably wait for @brunoocasali approval.
I signed up for that PR. If it went in I'll rebase this and we'll green it. |
About this php-cs-fixer problem: I think you should hardcode the php-cs-fixer version everywhere, and apply the fixer changes with version changes. Elsewhere I just ran into that two versions interpreting something completely differently (incorrectly) and it took me some time to find out what the source of the problem was. |
That's just because |
437b192
to
d016093
Compare
@connorhu you can rebase now :) |
d016093
to
1b787a0
Compare
bors merge |
1 similar comment
bors merge |
bors cancel |
@connorhu could you squash your commits? |
Co-authored-by: Tomas Norkūnas <norkunas.tom@gmail.com>
1b787a0
to
38ffced
Compare
@norkunas of course. done |
Thank you @connorhu |
Pull Request
Related issue
Fixes #284
What does this PR do?
PR checklist
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!