Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

CI - GitHub Action: Process JUnit reports #112

Open
u-ways opened this issue Oct 28, 2020 · 0 comments
Open

CI - GitHub Action: Process JUnit reports #112

u-ways opened this issue Oct 28, 2020 · 0 comments

Comments

@u-ways
Copy link
Owner

u-ways commented Oct 28, 2020

Our Junit (and KtLint) are configured to produce nice HTML reports to tell us what went wrong and what passed. It is actually possible to link those reports output from our GitHub actions (CI). Here is an example of how they look like:

Sample of our JUnit 5 test report

Each test will produce it's own logs that you can access and error logs and messages on failure.

Luckily, there is already a Github action with the required feature so we just need to plug it in and configure it to suit our usecase:

GitHub Action: action-junit-report

Feel free to setup the (KtLint) reports for the CI to redirect those reports to us.

Why is this useful?

  • Not everyone will have the correct JUnit configs or IDE settings to run our tests or KLint.
  • Some people contribute by changing few lines of code without cloning the repo or running tests. (a report with logs would be helpful for them to see what exactly went wrong)

I don't think it's critical but if someone feel the urgency is needed please feel free to assign yourself and do the work.

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

No branches or pull requests

1 participant