mirror of
https://github.com/lukaszraczylo/go-simple-graphql.git
synced 2026-10-14 00:58:32 +00:00
Pre-release improvements.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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{}
|
||||
|
||||
@@ -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{}
|
||||
|
||||
+3
-10
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user