3333 file : ./unit.txt
3434 flags : unit,${{ matrix.os }},${{ matrix.go-version }}
3535 name : unit
36- integration :
36+ integration-secure-connection :
3737 concurrency :
38- group : e2e -${{ github.ref }}-${{ matrix.os }}-${{ matrix.go-version }}
38+ group : integration-secure-connection -${{ github.ref }}-${{ matrix.os }}-${{ matrix.go-version }}
3939 cancel-in-progress : true
4040 strategy :
4141 matrix :
@@ -71,11 +71,56 @@ jobs:
7171 uses : actions/checkout@v2
7272 - name : Wait database available
7373 run : bash ./.github/scripts/wait-ydb-container.sh
74- - name : Test
75- run : go test -race -coverpkg=./... -coverprofile integration.txt -covermode atomic ./tests
76- - name : Upload Table coverage report to Codecov
74+ - name : Integration test
75+ run : go test -race -coverpkg=./... -coverprofile integration-secure.txt -covermode atomic ./tests
76+ - name : Upload Test secure connection coverage report to Codecov
77+ uses : codecov/codecov-action@v2
78+ with :
79+ file : ./integration-secure.txt
80+ flags : integration,secure,${{ matrix.os }},${{ matrix.go-version }}
81+ name : integration-secure
82+ integration-insecure-connection :
83+ concurrency :
84+ group : integration-insecure-connection-${{ github.ref }}-${{ matrix.os }}-${{ matrix.go-version }}
85+ cancel-in-progress : true
86+ strategy :
87+ matrix :
88+ go-version : [1.16.x, 1.19.x, 1.20.x]
89+ os : [ubuntu-latest]
90+ services :
91+ ydb :
92+ image : cr.yandex/yc/yandex-docker-local-ydb:latest
93+ ports :
94+ - 2135:2135
95+ - 2136:2136
96+ - 8765:8765
97+ volumes :
98+ - /tmp/ydb_certs:/ydb_certs
99+ env :
100+ YDB_LOCAL_SURVIVE_RESTART : true
101+ YDB_USE_IN_MEMORY_PDISKS : true
102+ options : ' -h localhost'
103+ env :
104+ OS : ${{ matrix.os }}
105+ GO : ${{ matrix.go-version }}
106+ YDB_CONNECTION_STRING : grpc://localhost:2136/local
107+ YDB_SESSIONS_SHUTDOWN_URLS : http://localhost:8765/actors/kqp_proxy?force_shutdown=all
108+ HIDE_APPLICATION_OUTPUT : 1
109+ runs-on : ${{ matrix.os }}
110+ steps :
111+ - name : Install Go
112+ uses : actions/setup-go@v3
113+ with :
114+ go-version : ${{ matrix.go-version }}
115+ - name : Checkout code
116+ uses : actions/checkout@v2
117+ - name : Wait database available
118+ run : bash ./.github/scripts/wait-ydb-container.sh
119+ - name : Test insecure connection
120+ run : go test -race -coverpkg=./... -coverprofile integration-insecure.txt -covermode atomic ./tests
121+ - name : Upload Test insecure connection coverage report to Codecov
77122 uses : codecov/codecov-action@v2
78123 with :
79- file : ./integration.txt
80- flags : integration,${{ matrix.os }},${{ matrix.go-version }}
81- name : integration
124+ file : ./integration-insecure .txt
125+ flags : integration,insecure, ${{ matrix.os }},${{ matrix.go-version }}
126+ name : integration-insecure
0 commit comments