23
23
OS : ${{ matrix.os }}-latest
24
24
runs-on : ${{ matrix.os }}-latest
25
25
steps :
26
+ - name : Checkout PR
27
+ uses : actions/checkout@v3
28
+ if : github.event.pull_request.head.sha != ''
29
+ with :
30
+ submodules : true
31
+ ref : ${{ github.event.pull_request.head.sha }}
32
+ - name : Checkout
33
+ uses : actions/checkout@v3
34
+ if : github.event.pull_request.head.sha == ''
35
+ with :
36
+ submodules : true
26
37
- name : Install dependencies
27
38
uses : ./.github/actions/prepare_vm
28
39
- name : Prepare ccache timestamp
@@ -40,18 +51,18 @@ jobs:
40
51
ubuntu-22.04-ccache-
41
52
- name : Build
42
53
uses : ./.github/actions/build
43
- - name : Checkout code
44
- uses : actions/checkout@v4
45
- - name : Run tests
46
- run : ctest -j32 --preset release-unit
47
- - name : Upload unit-tests coverage report to Codecov
48
- uses : codecov/codecov-action@v4
49
- with :
50
- file : ./unit.txt
51
- flags : unit,${{ matrix.os }},go-${{ matrix.go-version }}
52
- name : unit
53
- env :
54
- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
54
+ - name : Test
55
+ shell : bash
56
+ - name : Run tests
57
+ run : ctest -j32 --preset release-unit
58
+ - name : Upload unit-tests coverage report to Codecov
59
+ uses : codecov/codecov-action@v4
60
+ with :
61
+ file : ./unit.txt
62
+ flags : unit,${{ matrix.os }},go-${{ matrix.go-version }}
63
+ name : unit
64
+ env :
65
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
55
66
56
67
integration :
57
68
concurrency :
85
96
YDB_SESSIONS_SHUTDOWN_URLS : http://localhost:8765/actors/kqp_proxy?force_shutdown=all
86
97
HIDE_APPLICATION_OUTPUT : 1
87
98
steps :
99
+ - name : Checkout PR
100
+ uses : actions/checkout@v3
101
+ if : github.event.pull_request.head.sha != ''
102
+ with :
103
+ submodules : true
104
+ ref : ${{ github.event.pull_request.head.sha }}
105
+ - name : Checkout
106
+ uses : actions/checkout@v3
107
+ if : github.event.pull_request.head.sha == ''
108
+ with :
109
+ submodules : true
88
110
- name : Install dependencies
89
111
uses : ./.github/actions/prepare_vm
90
112
- name : Prepare ccache timestamp
@@ -102,8 +124,6 @@ jobs:
102
124
ubuntu-22.04-ccache-
103
125
- name : Build
104
126
uses : ./.github/actions/build
105
- - name : Checkout code
106
- uses : actions/checkout@v4
107
127
- name : Run tests
108
128
run : ctest -j32 --preset release-integration
109
129
- name : Upload integration-tests coverage report to Codecov
0 commit comments