Skip to content

Commit 94c8385

Browse files
authored
chore: do not run e2e on PRs from forks (#77)
1 parent 61546e9 commit 94c8385

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.circleci/config.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ jobs:
2828
go install golang.org/x/lint/golint@latest && golint ./...
2929
- run:
3030
name: Run tests
31-
command: GOEXPERIMENT=nocoverageredesign go test -v -cover -coverprofile=coverage.out --tags e2e ./...
31+
command: |
32+
if [[ "$CIRCLE_BRANCH" == pull/* ]]; then
33+
GOEXPERIMENT=nocoverageredesign go test -v -cover -coverprofile=coverage.out ./...
34+
else
35+
GOEXPERIMENT=nocoverageredesign go test -v -cover -coverprofile=coverage.out --tags e2e ./...
36+
fi
3237
- run:
3338
name: Coverage Report
3439
command: |

influxdb3/client_e2e_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// +build e2e
2+
13
/*
24
The MIT License
35

0 commit comments

Comments
 (0)