You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/11/16 18:32:00 UTC

[jira] [Work logged] (BEAM-12645) Report Go Code Coverage

     [ https://issues.apache.org/jira/browse/BEAM-12645?focusedWorklogId=682178&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-682178 ]

ASF GitHub Bot logged work on BEAM-12645:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Nov/21 18:31
            Start Date: 16/Nov/21 18:31
    Worklog Time Spent: 10m 
      Work Description: MiguelAnzoWizeline commented on pull request #15694:
URL: https://github.com/apache/beam/pull/15694#issuecomment-970554387


   Hi @lostluck Sorry for taking so long to reply and thanks for the help!
   I'm trying to get a comment with the report of the coverage generated like the one from python, but I'm not sure why it isn’t happening.
   I think a change in the Go code and coverage is needed for it to be triggered, could you help me with another seed job run after this PR with a test change?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 682178)
    Remaining Estimate: 0h
            Time Spent: 10m

> Report Go Code Coverage
> -----------------------
>
>                 Key: BEAM-12645
>                 URL: https://issues.apache.org/jira/browse/BEAM-12645
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-go, testing
>            Reporter: Robert Burke
>            Assignee: Miguel Anzo
>            Priority: P3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> It might be nice to have Go test code coverage reported for PRs that affect the Go SDK.
> The go tool reports package level coverage numbers with the -cover flag.
> From sdks/go/pkg/beam one can run `go test -cover ./...`  to get each package's coverage numbers.
> A blog post about that flag, and the related stand alone tool, including getting coverage profiles:
> [https://blog.golang.org/cover
> ]
> It can integrate with the existing python codecov tool as described here:
> https://about.codecov.io/blog/getting-started-with-code-coverage-for-golang/



--
This message was sent by Atlassian Jira
(v8.20.1#820001)