Skip to content

codecov: does not work in private repositories using repositoryPathPattern

Created by: slimsag

I cannot get the codecov extension working in private repositories at all.

According to codecov, this private repository file has coverage data in master: https://codecov.io/gh/sourcegraph/enterprise/src/master/cmd/frontend/backend/dependencies.go

Here is what I tried:

  1. Visit codecov.io and generate an access token
  2. Visit https://sourcegraph.sgdev.org/sourcegraph/enterprise and use the Codecov: Set API token for private repositories to enter the access token.
  3. Navigate to that file at https://sourcegraph.sgdev.org/sourcegraph/enterprise@093a16521df58e6c49cf70e6a4832137e740265a/-/blob/cmd/frontend/backend/dependencies.go
  4. There is no coverage button in the toolbar:

image

  1. When codecov line display is on, nothing appears in the file:

image