Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

terror: replace sirupsen/logrus by pingcap/log #693

Merged
merged 4 commits into from
Dec 23, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
circle.yml: restrict test parallelism in integration tests
also, stop verifying parser.go and code format in the integration tests...
those steps are redundant.
  • Loading branch information
kennytm committed Dec 19, 2019
commit 091531c58393c6d501c4932d63d8364eafb36117
15 changes: 2 additions & 13 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,6 @@ jobs:
working_directory: /go/src/github.com/pingcap/parser
steps:
- checkout
- run:
name: "Verify parser.go is up-to-date"
command: |
mv parser.go parser.go.committed
make parser
diff -u parser.go.committed parser.go
- run:
name: "Check code format"
command: make fmt
- run:
name: "Build"
command: make
- run:
name: "Integration Test"
command: |
Expand All @@ -48,7 +36,8 @@ jobs:
cd tidb
rm go.sum
GO111MODULE=on go mod edit -replace github.com/pingcap/parser=github.com/${CIRCLE_PR_USERNAME:-$CIRCLE_PROJECT_USERNAME}/${CIRCLE_PR_REPONAME:-$CIRCLE_PROJECT_REPONAME}@$CIRCLE_SHA1
make gotest
# use only 1 thread to minimize memory usage (we've only got 2 CPU + 4 GB on Circle CI).
make gotest P=1
workflows:
version: 2
build_and_test:
Expand Down