Skip to content

Commit

Permalink
chore: do not run e2e on PRs from forks
Browse files Browse the repository at this point in the history
  • Loading branch information
alespour committed Apr 8, 2024
1 parent 61546e9 commit ac7d806
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ jobs:
go install golang.org/x/lint/golint@latest && golint ./...
- run:
name: Run tests
command: GOEXPERIMENT=nocoverageredesign go test -v -cover -coverprofile=coverage.out --tags e2e ./...
command: |
if [ "${CIRCLE_BRANCH}" == pull/* ];
GOEXPERIMENT=nocoverageredesign go test -v -cover -coverprofile=coverage.out ./...
else
GOEXPERIMENT=nocoverageredesign go test -v -cover -coverprofile=coverage.out --tags e2e ./...
fi
- run:
name: Coverage Report
command: |
Expand Down
2 changes: 2 additions & 0 deletions influxdb3/client_e2e_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build e2e

/*
The MIT License
Expand Down

0 comments on commit ac7d806

Please sign in to comment.