diff --git a/Makefile b/Makefile index f7d9af3..ba85429 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CI_RUN?=false ADDITIONAL_BUILD_FLAGS="" ifeq ($(CI_RUN), true) - ADDITIONAL_BUILD_FLAGS="-test.local_endpoint" + ADDITIONAL_BUILD_FLAGS="-test.short" endif .PHONY: help diff --git a/query_bench_test.go b/query_bench_test.go index 72a1d74..51b16d7 100644 --- a/query_bench_test.go +++ b/query_bench_test.go @@ -5,6 +5,9 @@ import ( ) func Benchmark_GraphQL_Query(t *testing.B) { + if testing.Short() { + t.Skip("Skipping test in short / CI mode") + } type args struct { queryContent string queryVariables interface{} diff --git a/query_test.go b/query_test.go index 95a6ba8..2ce1b4b 100644 --- a/query_test.go +++ b/query_test.go @@ -8,6 +8,7 @@ import ( ) func (suite *TestSuite) Test_GraphQL_queryBuilder() { + type args struct { queryContent string queryVariables interface{} @@ -50,6 +51,9 @@ func (suite *TestSuite) Test_GraphQL_queryBuilder() { } func (suite *TestSuite) Test_GraphQL_Query() { + if testing.Short() { + suite.T().Skip("Skipping test in short / CI mode") + } type args struct { queryContent string queryVariables interface{} diff --git a/semver.yaml b/semver.yaml index 40ac64d..214c141 100644 --- a/semver.yaml +++ b/semver.yaml @@ -1,17 +1,10 @@ version: 1 force: major: 1 - minor: 30 + minor: 0 patch: 0 - commit: 4508a46ac5bf8fc5fb264fbb0de58d3b8827ba2d wording: - patch: - - patch - - hotfix - - update - - initial minor: - - change - - improve + - minor-release major: - - breaking + - major-release