3333 file : ./unit.txt
3434 flags : unit,${{ matrix.os }},${{ matrix.go-version }}
3535 name : unit
36- e2e :
36+ integration :
3737 concurrency :
3838 group : e2e-${{ github.ref }}-${{ matrix.os }}-${{ matrix.go-version }}
3939 cancel-in-progress : true
@@ -71,60 +71,11 @@ jobs:
7171 uses : actions/checkout@v2
7272 - name : Wait database available
7373 run : bash ./.github/scripts/wait-ydb-container.sh
74- - name : Test Table
75- run : go test -race -coverpkg=./... -coverprofile table .txt -covermode atomic ./table/table_e2e_test.go
74+ - name : Test
75+ run : go test -race -coverpkg=./... -coverprofile integration .txt -covermode atomic ./tests
7676 - name : Upload Table coverage report to Codecov
7777 uses : codecov/codecov-action@v2
7878 with :
79- file : ./table.txt
80- flags : table,e2e,${{ matrix.os }},${{ matrix.go-version }}
81- name : table
82- - name : Test Ratelimiter
83- run : go test -race -coverpkg=./... -coverprofile ratelimiter.txt -covermode atomic ./ratelimiter/ratelimiter_e2e_test.go
84- shell : bash
85- - name : Upload Ratelimiter coverage report to Codecov
86- uses : codecov/codecov-action@v2
87- with :
88- file : ./ratelimiter.txt
89- flags : ratelimiter,e2e,${{ matrix.os }},${{ matrix.go-version }}
90- name : ratelimiter
91- - name : Test Scripting
92- run : go test -race -coverpkg=./... -coverprofile scripting.txt -covermode atomic ./scripting/scripting_e2e_test.go
93- - name : Upload Scripting coverage report to Codecov
94- uses : codecov/codecov-action@v2
95- with :
96- file : ./scripting.txt
97- flags : scripting,e2e,${{ matrix.os }},${{ matrix.go-version }}
98- name : scripting
99- - name : Test Topic client
100- run : go test -race -coverpkg=./... -coverprofile topic.txt -covermode atomic ./topic/cdc_reader_e2e_test.go ./topic/client_e2e_test.go ./topic/topic_read_writer_e2e_test.go ./topic/grpc_stopper_helper_test.go ./topic/topic_stress_test.go
101- - name : Upload Topic coverage report to Codecov
102- uses : codecov/codecov-action@v2
103- with :
104- file : ./topic.txt
105- flags : topic,e2e,${{ matrix.os }},${{ matrix.go-version }}
106- name : topic
107- - name : Test Discovery
108- run : go test -race -coverpkg=./... -coverprofile discovery.txt -covermode atomic ./discovery/discovery_e2e_test.go
109- - name : Upload Discovery coverage report to Codecov
110- uses : codecov/codecov-action@v2
111- with :
112- file : ./discovery.txt
113- flags : discovery,e2e,${{ matrix.os }},${{ matrix.go-version }}
114- name : discovery
115- - name : Test Connection
116- run : go test -race -coverpkg=./... -coverprofile connection.txt -covermode atomic ./connection_e2e_test.go
117- - name : Upload Connection coverage report to Codecov
118- uses : codecov/codecov-action@v2
119- with :
120- file : ./connection.txt
121- flags : connection,e2e,${{ matrix.os }},${{ matrix.go-version }}
122- name : connection
123- - name : Test database/sql
124- run : go test -race -coverpkg=./... -coverprofile database_sql.txt -covermode atomic ./sql_e2e_test.go
125- - name : Upload database/sql coverage report to Codecov
126- uses : codecov/codecov-action@v2
127- with :
128- file : ./database_sql.txt
129- flags : database_sql,e2e,integration,${{ matrix.os }},${{ matrix.go-version }}
130- name : database/sql
79+ file : ./integration.txt
80+ flags : integration,${{ matrix.os }},${{ matrix.go-version }}
81+ name : integration
0 commit comments