Add separate build tag for sessions benchmark

This commit is contained in:
ionutboangiu
2023-07-14 17:51:59 -04:00
committed by Dan Christian Bogos
parent 392b0c30e0
commit d2fbb0f3d4
2 changed files with 5 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ jobs:
run: ./build.sh
- name: Go Test
run: go test -v -count=1 ./... # should probably also add -race flag in the future
run: go test -count=1 ./... # should probably also add -race flag in the future
- name: Go Benchmark
run: go test -v -run=- -bench=. -benchtime=1x ./...
run: go test -run=- -bench=. -benchtime=1x ./...

View File

@@ -1,3 +1,6 @@
//go:build unit
// +build unit
/*
Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
Copyright (C) ITsysCOM GmbH