This commit is contained in:
parent
db1bd5f322
commit
d4be329cb6
@ -15,4 +15,14 @@ jobs:
|
|||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test mal-go...
|
run: go test mal-go/... -coverprofile=test-report.out
|
||||||
|
|
||||||
|
- name: Generate Report
|
||||||
|
run: go tool cover -html=test-report.out -o test-coverage.html
|
||||||
|
|
||||||
|
- name: Upload Report
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: coverage-report
|
||||||
|
path: test-coverage.html
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user