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 - Github Action Summary #578

Merged
merged 4 commits into from
Oct 10, 2023
Merged

Add - Github Action Summary #578

merged 4 commits into from
Oct 10, 2023

Conversation

faisal-alvi
Copy link
Member

@faisal-alvi faisal-alvi commented Sep 8, 2023

Description of the Change

This PR utilizes the new Markdown support of GH Actions summary (suggested by @jeffpaul) to include the test result in the job summary: https://github.com/10up/cypress-wp-utils/actions/runs/2319016114

To generate the markdown report, this PR uses mochawesome reporter. The reporter generates JSON and HTML reports. The report is pretty and solid:

image

Closes #391

How to test the Change

Check the WorkFlow results in Github Actions, a summary should be available. See https://github.com/10up/classifai/actions/runs/6121112681?pr=578

Changelog Entry

Added - GitHub Action Summary for Cypress e2e checks.

Credits

Props @iamdharmesh @faisal-alvi

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@faisal-alvi faisal-alvi added the type:enhancement New feature or request. label Sep 8, 2023
@faisal-alvi faisal-alvi added this to the 2.4.0 milestone Sep 8, 2023
@faisal-alvi faisal-alvi self-assigned this Sep 8, 2023
@jeffpaul
Copy link
Member

jeffpaul commented Oct 9, 2023

@dkotter any concerns with this getting merged in?

@dkotter dkotter merged commit ca52449 into develop Oct 10, 2023
13 checks passed
@dkotter dkotter deleted the add/gh-actions-summary branch October 10, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New feature or request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a GH Actions summary
3 participants