update test code and add codecov support

This commit is contained in:
vcaesar 2020-02-20 11:33:24 -04:00
parent f05b2858f4
commit 2e6aa4b0bd
2 changed files with 3 additions and 3 deletions

View File

@ -20,5 +20,5 @@ jobs:
- run: go get -v -t -d ./... - run: go get -v -t -d ./...
- run: xvfb-run go test -v ./... - run: xvfb-run go test -v ./...
# codecov.io # codecov.io
# - run: go test -v -covermode=count -coverprofile=coverage.out - run: go test -v -covermode=count -coverprofile=coverage.out
# - run: bash <(curl -s https://codecov.io/bash) - run: bash <(curl -s https://codecov.io/bash)

View File

@ -35,7 +35,7 @@ func TestSize(t *testing.T) {
x, y = GetScaleSize() x, y = GetScaleSize()
tt.NotZero(t, x) tt.NotZero(t, x)
tt.NotZero(t, x) tt.NotZero(t, y)
} }
func TestMoveMouse(t *testing.T) { func TestMoveMouse(t *testing.T) {