webtty icon indicating copy to clipboard operation
webtty copied to clipboard

Setup code coverage

Open Sean-Der opened this issue 5 years ago • 0 comments

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

Sean-Der avatar Jan 01 '21 19:01 Sean-Der