Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

Add inital code coverage and publish test results#713

Open
radu-matei wants to merge 1 commit into
cnabio:masterfrom
radu-matei:azure-pipelines-coverage
Open

Add inital code coverage and publish test results#713
radu-matei wants to merge 1 commit into
cnabio:masterfrom
radu-matei:azure-pipelines-coverage

Conversation

@radu-matei

@radu-matei radu-matei commented Apr 17, 2019

Copy link
Copy Markdown
Member

This publishes the test results and code coverage to Azure Pipelines.

I'm still mildly annoyed that the current Azure Pipelines task ignores a custom code coverage report that we could upload (and not include bogus "classes", or "assemblies"), but it feels like a good start.

Thoughts?

@ghost ghost assigned radu-matei Apr 17, 2019
@ghost ghost added the review label Apr 17, 2019
Kick off CI again

Update display name

Temporarily remove container

Fix coverage

Try gocover-cobertura

Add coverage make target

Fix makefile indentation

Add gocov-xml to make bootstrap

Remove gocov-html as Azure Pipelines auto-generates HTML report
@radu-matei radu-matei force-pushed the azure-pipelines-coverage branch from e87dc5a to d5c8606 Compare April 17, 2019 19:45
@radu-matei radu-matei marked this pull request as ready for review April 17, 2019 19:53
@radu-matei radu-matei requested a review from carolynvs April 17, 2019 19:53
Comment thread Makefile
HAS_GOLANGCI := $(shell $(CHECK) golangci-lint)
HAS_GOIMPORTS := $(shell $(CHECK) goimports)
GOLANGCI_VERSION := v1.16.0
HAS_COCOV_XML := $(shell command -v gocov-xml;)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ugh, this is a typo.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lmk when it's fixed and u want a review!

@carolynvs carolynvs removed their request for review October 14, 2019 18:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants