Skip to content

Setup code coverage #34

@Sean-Der

Description

@Sean-Der

We just need to add the following to our go test

-coverprofile=cover.out -covermode=atomic

Then use this action after the tests run

      - uses: codecov/codecov-action@v1
        with:
          file: ./cover.out
          name: codecov-umbrella
          fail_ci_if_error: true
          flags: go

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions