Skip to content
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

Add support for code coverage #100

Closed
1 of 7 tasks
AlexSkrypnyk opened this issue Jan 16, 2024 · 1 comment · Fixed by #145
Closed
1 of 7 tasks

Add support for code coverage #100

AlexSkrypnyk opened this issue Jan 16, 2024 · 1 comment · Fixed by #145

Comments

@AlexSkrypnyk
Copy link
Owner

AlexSkrypnyk commented Jan 16, 2024

https://www.drupal.org/project/drupal/issues/2974911

  • Connect to Codecov
  • Switch to native PHPUnit + use config from drevops/scaffold
  • Add example code (maybe into src) to test to demonstrate that coverage works
  • Add pcov to CIs and use it instead of XDebug
  • Update init.sh to remove the example code.
  • Add coverage label to README.dist.md
  • Review and remove .devtools/test.sh
@AlexSkrypnyk AlexSkrypnyk changed the title Add support for Codecov coverage upload Add support for code coverage Jan 16, 2024
@AlexSkrypnyk AlexSkrypnyk added this to the 4.7 milestone Jan 16, 2024
@AlexSkrypnyk AlexSkrypnyk modified the milestones: 4.7, 4.8 Feb 2, 2024
@AlexSkrypnyk AlexSkrypnyk modified the milestones: 4.8, 4.9 Apr 23, 2024
@AlexSkrypnyk
Copy link
Owner Author

AlexSkrypnyk commented May 1, 2024

Upload to Codecov was implemented for testing the scaffold itself in #134

Still need to implement the report generation for the test run.

May need to consider installing pcov instead of using Xdebug for performance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant