exercism / java

Exercism exercises in Java.
https://exercism.org/tracks/java
MIT License
690 stars 671 forks source link

Add GitHub Actions workflow step to add summary for test-runner results #2719

Open sanderploegsma opened 8 months ago

sanderploegsma commented 8 months ago

The GitHub Actions workflow that runs the tests using the Java test runner currently doesn't provide very useful output (example). We can look into creating a custom action step to create a job summary from the JSON output, perhaps using actions/github-script.

This step should then at least provide:

sanderploegsma commented 8 months ago

I once played around with creating a custom GitHub Action to make running tests using a track's test runner reusable. This was never finished but it also created job summaries so perhaps we can take that as inspiration. Here's an example: https://github.com/sanderploegsma/exercism-test-runner-action/actions/runs/6881871576

altinocoelho commented 7 months ago

@sanderploegsma I would like to help with this one