-
Notifications
You must be signed in to change notification settings - Fork 154
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
[FEATURE] Collect code coverage and add a coverage badge #1160
Conversation
fd01349
to
d5ec825
Compare
4c1ce87
to
1fc4ada
Compare
I'll still need to change the path to the coverage file: php-coveralls/php-coveralls#251 |
1fc4ada
to
1af324c
Compare
Note to myself: https://github.com/CPS-IT/project-builder/pull/500/files |
30d870d
to
1e1f331
Compare
0337a4c
to
004d7eb
Compare
08ffa1d
to
07d45b6
Compare
Note: As far as I understand it, Coveralls requires the coverage job to have been run for the |
07d45b6
to
fded010
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.
I'm aware of this and a few others that still need review. However, I'll need to fetch the PR branch and do a bit of editing to see how it differs from existing sections in jobs
. It's a shame that GitHub Actions do not allow code reusability.
fded010
to
0c6b366
Compare
We might actually be able to reuse things after all. I've created #1286 for this. (I'd like to tackle this later once this PR here is merged, though.) |
0c6b366
to
32e89d0
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.
Looks OK. If there are any issues, we can resolve them later.
@@ -23,6 +23,7 @@ nbproject | |||
/.php_cs.cache | |||
/.php-cs-fixer.cache | |||
/.phpunit.result.cache | |||
/coverage.xml |
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.
I'd like some of these type of files to be squirrelled away in a subdirectory, though that is beyond the scope of this PR.
Fixes #1126
Fixes #807