@@ -117,92 +117,6 @@ jobs:
117
117
- name : Check workability of benchmark tests
118
118
run : make bench-deps bench DURATION=1x COUNT=1
119
119
120
- run-tests-ee :
121
- # The same as for run-tests-ce, but it does not run on pull requests from
122
- # forks and on forks by default. Tests from forks will run only when the
123
- # pull request is labeled with `full-ci`. To avoid security problems, the
124
- # label must be reset manually for every run.
125
- #
126
- # We need to use `pull_request_target` because it has access to base
127
- # repository secrets unlike `pull_request`.
128
- if : |
129
- github.repository == 'tarantool/go-tarantool' &&
130
- (github.event_name == 'push' ||
131
- (github.event_name == 'pull_request_target' &&
132
- github.event.pull_request.head.repo.full_name != github.repository &&
133
- github.event.label.name == 'full-ci')) ||
134
- github.event_name == 'workflow_dispatch'
135
-
136
- runs-on : ubuntu-latest
137
-
138
- strategy :
139
- fail-fast : false
140
- matrix :
141
- sdk-path :
142
- - ' release/linux/x86_64/1.10/'
143
- sdk-version :
144
- - ' sdk-1.10.15-0-r598'
145
- coveralls : [false]
146
- fuzzing : [false]
147
- include :
148
- - sdk-path : ' release/linux/x86_64/2.10/'
149
- sdk-version : ' sdk-gc64-2.10.8-0-r598.linux.x86_64'
150
- coveralls : false
151
- - sdk-path : ' release/linux/x86_64/2.11/'
152
- sdk-version : ' sdk-gc64-2.11.1-0-r598.linux.x86_64'
153
- coveralls : true
154
-
155
- steps :
156
- - name : Clone the connector
157
- # `ref` as merge request is needed for pull_request_target because this
158
- # target runs in the context of the base commit of the pull request.
159
- uses : actions/checkout@v3
160
- if : github.event_name == 'pull_request_target'
161
- with :
162
- ref : refs/pull/${{ github.event.pull_request.number }}/merge
163
-
164
- - name : Clone the connector
165
- if : github.event_name != 'pull_request_target'
166
- uses : actions/checkout@v3
167
-
168
- - name : Setup Tarantool ${{ matrix.sdk-version }}
169
- run : |
170
- ARCHIVE_NAME=tarantool-enterprise-${{ matrix.sdk-version }}.tar.gz
171
- curl -O -L https://${{ secrets.SDK_DOWNLOAD_TOKEN }}@download.tarantool.io/enterprise/${{ matrix.sdk-path }}${ARCHIVE_NAME}
172
- tar -xzf ${ARCHIVE_NAME}
173
- rm -f ${ARCHIVE_NAME}
174
-
175
- - name : Setup golang for the connector and tests
176
- uses : actions/setup-go@v3
177
- with :
178
- go-version : 1.13
179
-
180
- - name : Install test dependencies
181
- run : |
182
- source tarantool-enterprise/env.sh
183
- make deps
184
-
185
- - name : Run regression tests
186
- run : |
187
- source tarantool-enterprise/env.sh
188
- make test
189
- make testrace
190
-
191
- - name : Run fuzzing tests
192
- if : ${{ matrix.fuzzing }}
193
- run : make fuzzing TAGS="go_tarantool_decimal_fuzzing"
194
-
195
- - name : Run tests, collect code coverage data and send to Coveralls
196
- if : ${{ matrix.coveralls }}
197
- env :
198
- COVERALLS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
199
- run : |
200
- source tarantool-enterprise/env.sh
201
- make coveralls
202
-
203
- - name : Check workability of benchmark tests
204
- run : make bench-deps bench DURATION=1x COUNT=1
205
-
206
120
testing_mac_os :
207
121
# We want to run on external PRs, but not on our own internal
208
122
# PRs as they'll be run by the push to the branch.
0 commit comments