mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
adds integration tests to ci build
This commit is contained in:
parent
11cde7ed71
commit
dbcc2e868d
@ -13,8 +13,6 @@ func init() {
|
||||
registry.RegisterService(&ServerLockService{})
|
||||
}
|
||||
|
||||
// DistributedLockService
|
||||
|
||||
// ServerLockService allows servers in HA mode to claim a lock
|
||||
// and execute an function if the server was granted the lock
|
||||
type ServerLockService struct {
|
||||
|
@ -19,5 +19,5 @@ exit_if_fail time go install ./pkg/cmd/grafana-server
|
||||
echo "running go test"
|
||||
set -e
|
||||
time for d in $(go list ./pkg/...); do
|
||||
exit_if_fail go test -covermode=atomic $d
|
||||
exit_if_fail go test -tags=integration -covermode=atomic $d
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user