Skip to content

Commit

Permalink
[parser] circle.yml: added a step to verify parser.go is up-to-date (#36
Browse files Browse the repository at this point in the history
)
  • Loading branch information
kennytm authored and ti-chi-bot committed Oct 9, 2021
1 parent 16d599c commit 630b7e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions parser/circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ 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: "Build & Test"
command: make test

0 comments on commit 630b7e3

Please sign in to comment.