Action to show test and coverage summary as job summary and pull request comment.
Defines verbose test output file. Defaults to test.out
.
Defines coverage profile output file. Defaults to cover.out
.
Enables coverage html report as job artifact attachment. Defaults to false
.
Used to comment pull requests. Defaults to ${{ github.token }}
.
- name: Run test
run: go test -v -coverprofile cover.out ./... | tee test.out
shell: bash
- name: Process results
if: always()
uses: malaupa/[email protected]
with:
test_results: "test.out"
coverage_profile: "cover.out"
with_archive: true