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

GH Actions: switch to Coveralls action runner to upload reports #339

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Nov 24, 2023

Context

  • Simplify CI script

Summary

This PR can be summarized in the following changelog entry:

  • Simplify CI script

Relevant technical choices:

Simplify the code coverage workflow by removing the dependency on the php-coveralls/php-coveralls package and switching to the coverallsapp/github-action action runner, which, as of the release of the 0.6.5 version of the Coverage Reporter now natively supports the Clover format.

The COVERALLS_TOKEN can now be removed from Settings -> Secrets.

Test instructions

Test instructions for the acceptance test before the PR gets merged

This PR can be acceptance tested by following these steps:

  • N/A

Simplify the code coverage workflow by removing the dependency on the `php-coveralls/php-coveralls` package and switching to the `coverallsapp/github-action` action runner, which, as of the release of the [0.6.5 version of the Coverage Reporter](https://github.com/coverallsapp/coverage-reporter/releases/tag/v0.6.5) now natively supports the Clover format.

The `COVERALLS_TOKEN` can now be removed from Settings -> Secrets.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 6985533042

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 65 unchanged lines in 21 files lost coverage.
  • Overall coverage increased (+1.6%) to 50.162%

Files with Coverage Reduction New Missed Lines %
src/admin/options-inputs.php 1 46.67%
src/duplicate-post.php 1 0.0%
src/handlers/handler.php 1 0.0%
src/ui/classic-editor.php 1 92.03%
src/ui/metabox.php 1 62.16%
src/ui/user-interface.php 1 0.0%
src/watchers/original-post-watcher.php 1 65.71%
src/watchers/watchers.php 1 0.0%
src/admin/options-form-generator.php 2 87.31%
src/admin/options-page.php 2 78.57%
Totals Coverage Status
Change from base Build 6925389201: 1.6%
Covered Lines: 1236
Relevant Lines: 2464

💛 - Coveralls

@jrfnl jrfnl merged commit e588101 into trunk Nov 24, 2023
16 checks passed
@jrfnl jrfnl deleted the JRF/ghactions-switch-to-coveralls-reporter branch November 24, 2023 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants