axelson
1
Is anyone using any sort of tool to produce machine readable output from exunit when using GitHub actions?
In the past with CircleCI I’ve used GitHub - victorolinasc/junit-formatter: A JUnit XML report exporter for Elixir's ExUnit since CircleCI can natively parse the junit output format. However GitHub actions doens’t natively support the junit format as far as I can tell.
So I’ve tried to use GitHub - mikepenz/action-junit-report: Reports junit test results as GitHub Pull Request Check but the results are sub-par, the errors are duplicated and the generated links don’t work.
Has anyone else dealt with this before?
5 Likes
hauleth
2
I can take a look. Seems like nice addition to mix_machine.
3 Likes
axelson
3
Thanks, that would be great if mix_machine supported this. It would be one less dependency needed in my CI setup 
mayel
4
@axelson @hauleth I was looking into doing something like this and wondered if you’ve found/done anything new since then?
I came across this post again recently and I’ve found that GitHub - erlef/setup-beam: Set up your BEAM-based GitHub Actions workflow (Erlang, Elixir, Gleam, ...) now includes good machine readable output (or at least enough that I don’t feel a need to look for other additions).
2 Likes