diff --git a/go.test.sh b/go.test.sh new file mode 100755 index 0000000000000000000000000000000000000000..d855e404e5cc92f96615dbc2de51beec6e6c7339 --- /dev/null +++ b/go.test.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -e +echo "" > coverage.txt + +for d in $(go list ./... | grep -v vendor); do + go test -gcflags=-l -race -coverprofile=profile.out -covermode=atomic "$d" + if [ -f profile.out ]; then + cat profile.out >> coverage.txt + rm profile.out + fi +done \ No newline at end of file diff --git a/push-gitee.sh b/push-gitee.sh new file mode 100755 index 0000000000000000000000000000000000000000..8de5ab107a70736416f3a49ff4024b26a75fbebf --- /dev/null +++ b/push-gitee.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -e + +git remote set-url origin https://gitee.com/quant1x/pandas.git +git push --all +git push --tags +git remote -vv \ No newline at end of file diff --git a/push-github.sh b/push-github.sh new file mode 100755 index 0000000000000000000000000000000000000000..9a20c782b12d076f753934d27f66bc8327bbc06c --- /dev/null +++ b/push-github.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +set -e +git remote set-url origin https://github.com/quant1x/pandas.git +git push --all +git push --tags +git remote -vv \ No newline at end of file