@@ -32,14 +32,16 @@ jobs:
3232 with :
3333 go-version : ${{ matrix.go-version }}
3434 cache : true
35- - name : Test
35+ - name : Run tests
3636 run : go test -race -coverprofile unit.txt -covermode atomic -v ./...
37- - name : Upload coverage report to Codecov
37+ - name : Upload unit-tests coverage report to Codecov
3838 uses : codecov/codecov-action@v4
3939 with :
4040 file : ./unit.txt
4141 flags : unit,${{ matrix.os }},go-${{ matrix.go-version }}
4242 name : unit
43+ env :
44+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
4345 integration :
4446 concurrency :
4547 group : integration-${{ github.ref }}-${{ matrix.os }}-${{ matrix.go-version }}-${{ matrix.ydb-version }}
@@ -81,14 +83,16 @@ jobs:
8183 with :
8284 go-version : ${{ matrix.go-version }}
8385 cache : true
84- - name : Integration test
86+ - name : Run tests
8587 run : go test -race -tags integration -coverpkg=./... -coverprofile integration.txt -covermode atomic ./tests/integration
86- - name : Upload Test secure connection coverage report to Codecov
88+ - name : Upload integration-tests coverage report to Codecov
8789 uses : codecov/codecov-action@v4
8890 with :
8991 file : ./integration.txt
9092 flags : integration,${{ matrix.os }},go-${{ matrix.go-version }},ydb-${{ matrix.ydb-version }}
9193 name : integration
94+ env :
95+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
9296 experiment :
9397 concurrency :
9498 group : experiment-${{ github.ref }}-${{ matrix.os }}-${{ matrix.go-version }}-${{ matrix.ydb-version }}
@@ -131,11 +135,13 @@ jobs:
131135 with :
132136 go-version : ${{ matrix.go-version }}
133137 cache : true
134- - name : Integration test
138+ - name : Run tests
135139 run : go test -race -tags integration -coverpkg=./... -coverprofile experiment.txt -covermode atomic ./...
136- - name : Upload Test secure connection coverage report to Codecov
140+ - name : Upload experimental-tests coverage report to Codecov
137141 uses : codecov/codecov-action@v4
138142 with :
139- file : ./integration-secure .txt
143+ file : ./experiment .txt
140144 flags : experiment,${{ matrix.os }},go-${{ matrix.go-version }},ydb-${{ matrix.ydb-version }}
141145 name : experiment
146+ env :
147+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
0 commit comments