mirror of
https://github.com/lukaszraczylo/go-simple-graphql.git
synced 2026-10-17 01:17:43 +00:00
Pre-release improvements.
This commit is contained in:
@@ -2,7 +2,7 @@ CI_RUN?=false
|
|||||||
ADDITIONAL_BUILD_FLAGS=""
|
ADDITIONAL_BUILD_FLAGS=""
|
||||||
|
|
||||||
ifeq ($(CI_RUN), true)
|
ifeq ($(CI_RUN), true)
|
||||||
ADDITIONAL_BUILD_FLAGS="-test.local_endpoint"
|
ADDITIONAL_BUILD_FLAGS="-test.short"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: help
|
.PHONY: help
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func Benchmark_GraphQL_Query(t *testing.B) {
|
func Benchmark_GraphQL_Query(t *testing.B) {
|
||||||
|
if testing.Short() {
|
||||||
|
t.Skip("Skipping test in short / CI mode")
|
||||||
|
}
|
||||||
type args struct {
|
type args struct {
|
||||||
queryContent string
|
queryContent string
|
||||||
queryVariables interface{}
|
queryVariables interface{}
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func (suite *TestSuite) Test_GraphQL_queryBuilder() {
|
func (suite *TestSuite) Test_GraphQL_queryBuilder() {
|
||||||
|
|
||||||
type args struct {
|
type args struct {
|
||||||
queryContent string
|
queryContent string
|
||||||
queryVariables interface{}
|
queryVariables interface{}
|
||||||
@@ -50,6 +51,9 @@ func (suite *TestSuite) Test_GraphQL_queryBuilder() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (suite *TestSuite) Test_GraphQL_Query() {
|
func (suite *TestSuite) Test_GraphQL_Query() {
|
||||||
|
if testing.Short() {
|
||||||
|
suite.T().Skip("Skipping test in short / CI mode")
|
||||||
|
}
|
||||||
type args struct {
|
type args struct {
|
||||||
queryContent string
|
queryContent string
|
||||||
queryVariables interface{}
|
queryVariables interface{}
|
||||||
|
|||||||
+3
-10
@@ -1,17 +1,10 @@
|
|||||||
version: 1
|
version: 1
|
||||||
force:
|
force:
|
||||||
major: 1
|
major: 1
|
||||||
minor: 30
|
minor: 0
|
||||||
patch: 0
|
patch: 0
|
||||||
commit: 4508a46ac5bf8fc5fb264fbb0de58d3b8827ba2d
|
|
||||||
wording:
|
wording:
|
||||||
patch:
|
|
||||||
- patch
|
|
||||||
- hotfix
|
|
||||||
- update
|
|
||||||
- initial
|
|
||||||
minor:
|
minor:
|
||||||
- change
|
- minor-release
|
||||||
- improve
|
|
||||||
major:
|
major:
|
||||||
- breaking
|
- major-release
|
||||||
|
|||||||
Reference in New Issue
Block a user