@@ -45,12 +45,10 @@ jobs:
4545 check-latest : true
4646 - name : Add hosts to /etc/hosts
4747 run : ' [ -e "/.dockerenv" ] || [ -e "/run/.containerenv" ] || echo "127.0.0.1 pgsql ldap minio" | sudo tee -a /etc/hosts'
48- - run : make deps-backend
49- - run : make backend
50- env :
51- TAGS : bindata
5248 - name : run migration tests
5349 run : make test-pgsql-migration
50+ env :
51+ TAGS : bindata
5452 - name : run tests
5553 run : make test-pgsql
5654 timeout-minutes : 50
@@ -71,12 +69,10 @@ jobs:
7169 with :
7270 go-version-file : go.mod
7371 check-latest : true
74- - run : make deps-backend
75- - run : GOEXPERIMENT='' make backend
72+ - name : run migration tests
73+ run : GOEXPERIMENT='' make test-sqlite-migration
7674 env :
7775 TAGS : bindata gogit sqlite sqlite_unlock_notify
78- - name : run migration tests
79- run : make test-sqlite-migration
8076 - name : run tests
8177 run : GOEXPERIMENT='' make test-sqlite
8278 timeout-minutes : 50
@@ -131,10 +127,6 @@ jobs:
131127 check-latest : true
132128 - name : Add hosts to /etc/hosts
133129 run : ' [ -e "/.dockerenv" ] || [ -e "/run/.containerenv" ] || echo "127.0.0.1 minio devstoreaccount1.azurite.local mysql elasticsearch meilisearch smtpimap" | sudo tee -a /etc/hosts'
134- - run : make deps-backend
135- - run : make backend
136- env :
137- TAGS : bindata
138130 - name : unit-tests
139131 run : make unit-test-coverage test-check
140132 env :
@@ -184,12 +176,10 @@ jobs:
184176 check-latest : true
185177 - name : Add hosts to /etc/hosts
186178 run : ' [ -e "/.dockerenv" ] || [ -e "/run/.containerenv" ] || echo "127.0.0.1 mysql elasticsearch smtpimap" | sudo tee -a /etc/hosts'
187- - run : make deps-backend
188- - run : make backend
189- env :
190- TAGS : bindata
191179 - name : run migration tests
192180 run : make test-mysql-migration
181+ env :
182+ TAGS : bindata
193183 - name : run tests
194184 # run: make integration-test-coverage (at the moment, no coverage is really handled)
195185 run : make test-mysql
@@ -224,11 +214,9 @@ jobs:
224214 check-latest : true
225215 - name : Add hosts to /etc/hosts
226216 run : ' [ -e "/.dockerenv" ] || [ -e "/run/.containerenv" ] || echo "127.0.0.1 mssql devstoreaccount1.azurite.local" | sudo tee -a /etc/hosts'
227- - run : make deps-backend
228- - run : make backend
217+ - run : make test-mssql-migration
229218 env :
230219 TAGS : bindata
231- - run : make test-mssql-migration
232220 - name : run tests
233221 run : make test-mssql
234222 timeout-minutes : 50
0 commit comments