Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

ci: Set coverpkg to record dependency code coverage #4375

Closed
wants to merge 1 commit into from

Conversation

keegancsmith
Copy link
Member

We will now record coverage in all sourcegraph packages. Previously we only
recorded the coverage per package test, so missed things like our DB tests
covering the migrations bindata.

We used to set this flag, but I think we lost it during our OSS process.

We will now record coverage in all sourcegraph packages. Previously we only
recorded the coverage per package test, so missed things like our DB tests
covering the migrations bindata.

We used to set this flag, but I think we lost it during our OSS process.
@keegancsmith keegancsmith requested a review from felixfbecker June 5, 2019 10:59
@keegancsmith
Copy link
Member Author

It seems the reason we removed it is golang/go#30374. This will be fixed in go1.13, so we can reintroduce then.

@keegancsmith
Copy link
Member Author

Filed https://github.com/sourcegraph/sourcegraph/issues/4376 to remember to try again.

@felixfbecker
Copy link
Contributor

can we ignore the file for now then?

@keegancsmith
Copy link
Member Author

how do you ignore it? Can you add the rule.

@felixfbecker
Copy link
Contributor

I don't know, you have more experience with Go than me. In TS, you specify it in package.json under nyc.exclude or with /* istanbul:ignore */

@keegancsmith
Copy link
Member Author

https://docs.codecov.io/docs/ignoring-paths can't do it like that in go, need to do it in codecov.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants