hauleth / mix_machine

Machine output for Mix tasks
MIT License
16 stars 1 forks source link

Write ExUnit formatter that will use Workflow Commands #12

Open hauleth opened 2 years ago

hauleth commented 2 years ago

This is IMHO better approach than producing the SARIF report. Mostly because SARIF is meant for reporting of static analysis of the code and tests aren't such thing. Using Workflow Commands should be "more natural" and should be easier to implement properly.

Ref #11

cc @axelson

axelson commented 2 years ago

That seems like a good approach

Seems like outputting a warning message is what we want: https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions#setting-a-warning-message

hauleth commented 2 years ago

I was thinking more about error level for test failures and info for skipped tests.