File tree 2 files changed +3
-73
lines changed
2 files changed +3
-73
lines changed Original file line number Diff line number Diff line change @@ -124,52 +124,6 @@ steps:
124
124
TAGS : bindata sqlite sqlite_unlock_notify
125
125
GITHUB_READ_TOKEN :
126
126
from_secret : github_read_token
127
- when :
128
- branch :
129
- - master
130
- event :
131
- - push
132
- - pull_request
133
-
134
- - name : release-test
135
- pull : always
136
- image : golang:1.13
137
- commands :
138
- - make test
139
- environment :
140
- GOPROXY : off
141
- TAGS : bindata sqlite sqlite_unlock_notify
142
- when :
143
- branch :
144
- - " release/*"
145
- event :
146
- - push
147
- - pull_request
148
-
149
- - name : tag-pre-condition
150
- pull : always
151
- image : alpine/git
152
- commands :
153
- - git update-ref refs/heads/tag_test ${DRONE_COMMIT_SHA}
154
- depends_on :
155
- - build
156
- when :
157
- event :
158
- - tag
159
-
160
- - name : tag-test
161
- pull : always
162
- image : golang:1.13
163
- commands :
164
- - make test
165
- environment :
166
- GOPROXY : off
167
- TAGS : bindata
168
- depends_on :
169
- - tag-pre-condition
170
- when :
171
- event :
172
- - tag
173
127
174
128
- name : test-mysql
175
129
pull : always
@@ -185,30 +139,6 @@ steps:
185
139
TEST_LDAP : 1
186
140
depends_on :
187
141
- build
188
- when :
189
- branch :
190
- - master
191
- event :
192
- - push
193
- - pull_request
194
-
195
- - name : tag-test-mysql
196
- pull : always
197
- image : golang:1.13
198
- commands :
199
- - " curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
200
- - apt-get install -y git-lfs
201
- - timeout -s ABRT 20m make test-mysql-migration
202
- - timeout -s ABRT 20m make test-mysql
203
- environment :
204
- GOPROXY : off
205
- TAGS : bindata
206
- TEST_LDAP : 1
207
- depends_on :
208
- - build
209
- when :
210
- event :
211
- - tag
212
142
213
143
- name : test-mysql8
214
144
pull : always
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ fmt-check:
220
220
fi ;
221
221
222
222
.PHONY : test
223
- test : git-check
223
+ test :
224
224
GO111MODULE=on $(GO ) test -mod=vendor -tags=' sqlite sqlite_unlock_notify' $(PACKAGES )
225
225
226
226
.PHONY : test\# %
@@ -236,7 +236,7 @@ coverage:
236
236
237
237
.PHONY : unit-test-coverage
238
238
unit-test-coverage :
239
- $(GO ) test -tags=' sqlite sqlite_unlock_notify' -cover -coverprofile coverage.out $(PACKAGES ) && echo " \n==>\033[32m Ok\033[m\n" || exit 1
239
+ GO111MODULE=on $(GO ) test -mod=vendor -tags=' sqlite sqlite_unlock_notify' -cover -coverprofile coverage.out $(PACKAGES ) && echo " \n==>\033[32m Ok\033[m\n" || exit 1
240
240
241
241
.PHONY : vendor
242
242
vendor :
@@ -374,7 +374,7 @@ integrations.mssql.test: git-check $(GO_SOURCES)
374
374
integrations.sqlite.test : git-check $(GO_SOURCES )
375
375
GO111MODULE=on $(GO ) test -mod=vendor -c code.gitea.io/gitea/integrations -o integrations.sqlite.test -tags ' sqlite sqlite_unlock_notify'
376
376
377
- integrations.cover.test : $(GO_SOURCES )
377
+ integrations.cover.test : git-check $(GO_SOURCES )
378
378
GO111MODULE=on $(GO ) test -mod=vendor -c code.gitea.io/gitea/integrations -coverpkg $(shell echo $(PACKAGES ) | tr ' ' ',') -o integrations.cover.test
379
379
380
380
.PHONY : migrations.mysql.test
You can’t perform that action at this time.
0 commit comments