4747 file : ./unit.txt
4848 flags : unit,${{ matrix.os }},${{ matrix.go-version }}
4949 name : unit
50- integration :
50+ e2e-table :
5151 strategy :
5252 matrix :
5353 go-version : [1.17.x]
@@ -80,13 +80,99 @@ jobs:
8080 - name : Checkout code
8181 uses : actions/checkout@v2
8282 - name : Test
83- run : go test -race -coverpkg=./... -coverprofile integration .txt -covermode atomic ./test/...
83+ run : go test -race -coverpkg=./... -coverprofile e2e-table .txt -covermode atomic ./test/table_test.go
8484 - name : Clear report
85- run : sed -i '/testutil\|trace\|test/d' integration .txt
85+ run : sed -i '/testutil\|trace\|test/d' e2e-table .txt
8686 shell : bash
8787 - name : Upload coverage to Codecov
8888 uses : codecov/codecov-action@v2
8989 with :
90- file : ./integration.txt
91- flags : integration,${{ matrix.os }},${{ matrix.go-version }}
92- name : integration
90+ file : ./e2e-table.txt
91+ flags : e2e-table,integration,${{ matrix.os }},${{ matrix.go-version }}
92+ name : e2e-table
93+ e2e-ratelimiter :
94+ strategy :
95+ matrix :
96+ go-version : [1.17.x]
97+ os : [ubuntu-latest]
98+ services :
99+ ydb :
100+ image : cr.yandex/yc/yandex-docker-local-ydb:latest
101+ ports :
102+ - 2135:2135
103+ - 8765:8765
104+ volumes :
105+ - /tmp/ydb_certs:/ydb_certs
106+ env :
107+ YDB_LOCAL_SURVIVE_RESTART : true
108+ YDB_USE_IN_MEMORY_PDISKS : true
109+ options : ' -h localhost'
110+ env :
111+ OS : ${{ matrix.os }}
112+ GO : ${{ matrix.go-version }}
113+ YDB_CONNECTION_STRING : grpcs://localhost:2135/?database=/local
114+ YDB_SSL_ROOT_CERTIFICATES_FILE : /tmp/ydb_certs/ca.pem
115+ YDB_ANONYMOUS_CREDENTIALS : 1
116+ YDB_SHUTDOWN_URLS : http://localhost:8765/actors/kqp_proxy?force_shutdown=all
117+ runs-on : ${{ matrix.os }}
118+ steps :
119+ - name : Install Go
120+ uses : actions/setup-go@v2
121+ with :
122+ go-version : ${{ matrix.go-version }}
123+ - name : Checkout code
124+ uses : actions/checkout@v2
125+ - name : Test
126+ run : go test -race -coverpkg=./... -coverprofile e2e-ratelimiter.txt -covermode atomic ./test/ratelimiter_test.go
127+ - name : Clear report
128+ run : sed -i '/testutil\|trace\|test/d' e2e-ratelimiter.txt
129+ shell : bash
130+ - name : Upload coverage to Codecov
131+ uses : codecov/codecov-action@v2
132+ with :
133+ file : ./e2e-ratelimiter.txt
134+ flags : e2e-ratelimiter,integration,${{ matrix.os }},${{ matrix.go-version }}
135+ name : e2e-ratelimiter
136+ e2e-scripting :
137+ strategy :
138+ matrix :
139+ go-version : [1.17.x]
140+ os : [ubuntu-latest]
141+ services :
142+ ydb :
143+ image : cr.yandex/yc/yandex-docker-local-ydb:latest
144+ ports :
145+ - 2135:2135
146+ - 8765:8765
147+ volumes :
148+ - /tmp/ydb_certs:/ydb_certs
149+ env :
150+ YDB_LOCAL_SURVIVE_RESTART : true
151+ YDB_USE_IN_MEMORY_PDISKS : true
152+ options : ' -h localhost'
153+ env :
154+ OS : ${{ matrix.os }}
155+ GO : ${{ matrix.go-version }}
156+ YDB_CONNECTION_STRING : grpcs://localhost:2135/?database=/local
157+ YDB_SSL_ROOT_CERTIFICATES_FILE : /tmp/ydb_certs/ca.pem
158+ YDB_ANONYMOUS_CREDENTIALS : 1
159+ YDB_SHUTDOWN_URLS : http://localhost:8765/actors/kqp_proxy?force_shutdown=all
160+ runs-on : ${{ matrix.os }}
161+ steps :
162+ - name : Install Go
163+ uses : actions/setup-go@v2
164+ with :
165+ go-version : ${{ matrix.go-version }}
166+ - name : Checkout code
167+ uses : actions/checkout@v2
168+ - name : Test
169+ run : go test -race -coverpkg=./... -coverprofile e2e-scripting.txt -covermode atomic ./test/scripting_test.go
170+ - name : Clear report
171+ run : sed -i '/testutil\|trace\|test/d' e2e-scripting.txt
172+ shell : bash
173+ - name : Upload coverage to Codecov
174+ uses : codecov/codecov-action@v2
175+ with :
176+ file : ./e2e-scripting.txt
177+ flags : e2e-scripting,integration,${{ matrix.os }},${{ matrix.go-version }}
178+ name : e2e-scripting
0 commit comments