Github Actionsのテスト実行結果(Junit)をレポート出力する

結論

以下をワークフローに追加する。

      - name: publish test report
        if: cancelled() != true
        uses: mikepenz/action-junit-report@v4
        with:
          report_paths: '**/build/test-results/*/TEST-*.xml'

以下のような結果がactionsに出力される。

一言

便利