diff --git a/.circleci/config.yml b/.circleci/config.yml index 0533a16..e59f428 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/README.md b/README.md index 31e2664..62fe7fd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ -# Template: [![](https://circleci.com/gh/mitch-thompson/versionedTerraform.svg?style=svg)]() # Versioned Terraform