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

Custom pytest output for GHA #2483

Open
dopplershift opened this issue May 17, 2022 · 0 comments
Open

Custom pytest output for GHA #2483

dopplershift opened this issue May 17, 2022 · 0 comments
Labels
Area: Infrastructure Pertains to project infrastructure (e.g. CI, linting) Type: Enhancement Enhancement to existing functionality

Comments

@dopplershift
Copy link
Member

Looks like there's not currently any good options to take advantage of GitHub Actions' new support for outputting a job summary. While I'm sure something will develop over time, I kinda want to take advantage of this feature.

PyTest has plugins that can even be contained with conftest.py (though I'm not clear exactly what the API/hook-in points are--probably take looking at some real-world examples). pytest-md-report and pytest-html might have some good inspiration on features/formatting.

Thoughts to include:

  • Failed tests--with trace
  • XPassed tests
  • Warnings?
  • Images (subset) from failing tests?

The goal here would be to get useful information without needing to click into the logs every time.

@dopplershift dopplershift added Area: Infrastructure Pertains to project infrastructure (e.g. CI, linting) Type: Enhancement Enhancement to existing functionality labels May 17, 2022
@dopplershift dopplershift mentioned this issue May 17, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Infrastructure Pertains to project infrastructure (e.g. CI, linting) Type: Enhancement Enhancement to existing functionality
Projects
Status: No status
Development

No branches or pull requests

1 participant