FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
CovenantSQL/alltest.sh at develop · sourcecreative/CovenantSQL · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
sourcecreative
/
CovenantSQL
Public
forked from
CovenantSQL/CovenantSQL
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
CovenantSQL
/
alltest.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
23 lines (17 loc) · 855 Bytes
Breadcrumbs
CovenantSQL
/
alltest.sh
Copy path
File metadata and controls
executable file
·
23 lines (17 loc) · 855 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!
/usr/bin/env bash
set
-o errexit
set
-o pipefail
set
-o nounset
main
() {
go
test
-tags
"
${UNITTESTTAGS
:-
}
"
-race -failfast -parallel 16 -cpu 16 -coverprofile main.cover.out
$(
go list ./...
|
grep -v CovenantSQL/api
)
go
test
-tags
"
${UNITTESTTAGS
:-
}
"
-race -failfast -parallel 16 -cpu 16 -coverpkg ./api/...,./rpc/jsonrpc -coverprofile api.cover.out ./api/...
set
-x
gocovmerge main.cover.out api.cover.out
$(
find cmd -name
"
*.cover.out
"
)
|
grep -F -v
'
_gen.go
'
>
coverage.txt
&&
rm -f
*
.cover.out
bash
<(
curl -s https://codecov.io/bash
)
#
some benchmarks
go
test
-tags
"
${UNITTESTTAGS
:-
}
"
-bench=^BenchmarkPersistentCaller_Call$ -run ^$ ./rpc/
bash cleanupDB.sh
||
true
go
test
-tags
"
${UNITTESTTAGS
:-
}
"
-bench=^BenchmarkMiner$ -benchtime=5s -run ^$ ./cmd/cql-minerd/ -bench-miner-count=2
bash cleanupDB.sh
||
true
}
main
"
$@
"
Back
|
FazBrowse Home
|
New Git URL