-
Notifications
You must be signed in to change notification settings - Fork 831
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: QihengZhou <[email protected]> Co-authored-by: Li2CO3 <[email protected]> Co-authored-by: Felix021 <[email protected]> Co-authored-by: Joway <[email protected]> Co-authored-by: qiheng.zhou <[email protected]> Co-authored-by: kinggo <[email protected]> Co-authored-by: Jayant <[email protected]> Co-authored-by: Z.Q.K <[email protected]>
- Loading branch information
1 parent
07015dc
commit 8bdd3ad
Showing
51 changed files
with
958 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,3 +49,31 @@ jobs: | |
go-version: ${{ matrix.go }} | ||
- name: Unit Test | ||
run: go test -gcflags=-l -race -covermode=atomic ./... | ||
|
||
codegen-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.17' | ||
- name: Prepare | ||
run: | | ||
go install github.com/cloudwego/thriftgo@main | ||
go install ./tool/cmd/kitex | ||
LOCAL_REPO=$(pwd) | ||
cd .. | ||
git clone https://github.com/cloudwego/kitex-tests.git | ||
cd kitex-tests/codegen | ||
go mod init codegen-test | ||
go mod edit -replace=github.com/apache/thrift=github.com/apache/[email protected] | ||
go mod edit -replace github.com/cloudwego/kitex=${LOCAL_REPO} | ||
go mod tidy | ||
bash -version | ||
bash ./codegen_install_check.sh | ||
- name: CodeGen | ||
run: | | ||
cd ../kitex-tests/codegen | ||
tree | ||
bash ./codegen_run.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.