File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2626 uses : ./.github/actions/setup-protobuf
2727
2828 - name : Generate protobuf files
29- run : go generate ./sinks/pb/
29+ run : cd rpc && go generate ./sinks/pb/
3030
3131 - name : GolangCI-Lint
3232 uses : golangci/golangci-lint-action@v8
@@ -35,14 +35,17 @@ jobs:
3535
3636 Unit-Test :
3737 runs-on : ubuntu-latest
38+ defaults :
39+ run :
40+ working-directory : rpc
3841 steps :
3942 - uses : actions/checkout@v4
4043
4144 - name : Set up Go
4245 uses : actions/setup-go@v5
4346 with :
4447 go-version : ' 1.23'
45- cache-dependency-path : ' go.sum'
48+ cache-dependency-path : ' rpc/ go.sum'
4649
4750 - name : Setup Protobuf
4851 uses : ./.github/actions/setup-protobuf
@@ -60,13 +63,11 @@ jobs:
6063
6164 - name : gRPC Golang Tests
6265 run : |
63- cd gRPC_sinks
6466 go generate ./sinks/pb
6567 go test -timeout 20m -failfast -v -coverprofile=profile.cov ./...
6668
6769 - name : gRPC Python Tests
6870 run : |
69- cd gRPC_sinks
7071 python3 -m grpc_tools.protoc -I sinks/pb --python_out=cmd/pyiceberg_receiver --grpc_python_out=cmd/pyiceberg_receiver sinks/pb/pgwatch.proto
7172 pytest
7273
You can’t perform that action at this time.
0 commit comments