Added coverage report

This commit is contained in:
mitch 2022-10-22 11:51:13 -04:00
parent 4c99d54c51
commit 5cfcabad4b
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -1,4 +1,3 @@
# Template:
[![<ORG_NAME>](https://circleci.com/gh/mitch-thompson/versionedTerraform.svg?style=svg)](<LINK>)
# Versioned Terraform