mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
update test code and add codecov support
This commit is contained in:
parent
f05b2858f4
commit
2e6aa4b0bd
@ -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)
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user