Added coverage report
This commit is contained in:
parent
4c99d54c51
commit
5cfcabad4b
@ -29,9 +29,15 @@ jobs:
|
||||
name: Run tests
|
||||
command: |
|
||||
mkdir -p /tmp/test-reports
|
||||
mkdir -p /tmp/artifacts
|
||||
go test -coverprofile=c.out
|
||||
go tool cover -html=c.out -o coverage.html
|
||||
mv coverage.html /tmp/artifacts
|
||||
gotestsum --junitfile /tmp/test-reports/unit-tests.xml
|
||||
- store_test_results:
|
||||
path: /tmp/test-reports
|
||||
- store_artifacts:
|
||||
path: /tmp/artifacts
|
||||
|
||||
# Invoke jobs via workflows
|
||||
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
|
||||
|
Loading…
Reference in New Issue
Block a user