maxmcd / webtty

Share a terminal session over WebRTC
https://maxmcd.github.io/webtty/
MIT License
2.71k stars 143 forks source link

Setup code coverage #34

Open Sean-Der opened 3 years ago

Sean-Der commented 3 years ago

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