Skip to content

Commit 74763f5

Browse files
authored
Use minimal required version on CI and remove unnecessary services (#27429)
1 parent df56b1b commit 74763f5

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

.github/workflows/pull-db-tests.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
services:
1919
pgsql:
20-
image: postgres:16
20+
image: postgres:12
2121
env:
2222
POSTGRES_DB: test
2323
POSTGRES_PASSWORD: postgres
@@ -85,13 +85,6 @@ jobs:
8585
needs: files-changed
8686
runs-on: ubuntu-latest
8787
services:
88-
mysql:
89-
image: mysql:8.1
90-
env:
91-
MYSQL_ALLOW_EMPTY_PASSWORD: true
92-
MYSQL_DATABASE: test
93-
ports:
94-
- "3306:3306"
9588
elasticsearch:
9689
image: elasticsearch:7.5.0
9790
env:
@@ -104,13 +97,6 @@ jobs:
10497
MEILI_ENV: development # disable auth
10598
ports:
10699
- "7700:7700"
107-
smtpimap:
108-
image: tabascoterrier/docker-imap-devel:latest
109-
ports:
110-
- "25:25"
111-
- "143:143"
112-
- "587:587"
113-
- "993:993"
114100
redis:
115101
image: redis
116102
options: >- # wait until redis has started
@@ -158,7 +144,7 @@ jobs:
158144
runs-on: ubuntu-latest
159145
services:
160146
mysql:
161-
image: mysql:8.1
147+
image: mysql:8.0
162148
env:
163149
MYSQL_ALLOW_EMPTY_PASSWORD: true
164150
MYSQL_DATABASE: testgitea
@@ -203,7 +189,7 @@ jobs:
203189
runs-on: ubuntu-latest
204190
services:
205191
mssql:
206-
image: mcr.microsoft.com/mssql/server:2022-latest
192+
image: mcr.microsoft.com/mssql/server:2017-latest
207193
env:
208194
ACCEPT_EULA: Y
209195
MSSQL_PID: Standard

0 commit comments

Comments
 (0)