File tree Expand file tree Collapse file tree 3 files changed +27
-9
lines changed Expand file tree Collapse file tree 3 files changed +27
-9
lines changed Original file line number Diff line number Diff line change 20
20
strategy :
21
21
matrix :
22
22
image :
23
- - ' swift:5.9'
24
23
- ' swift:5.10'
25
24
- ' swift:6.0'
25
+ - ' swift:6.1'
26
26
postgres-image :
27
27
- ' postgres:17'
28
28
- ' postgres:16'
Original file line number Diff line number Diff line change @@ -10,17 +10,35 @@ jobs:
10
10
strategy :
11
11
matrix :
12
12
image : ['nightly-focal', 'nightly-jammy', 'nightly-amazonlinux2']
13
- services :
14
- redis :
15
- image : redis
16
- ports :
17
- - 6379:6379
18
- options : --entrypoint redis-server
13
+ postgres-image :
14
+ - " postgres:17"
15
+ - " postgres:14"
16
+ include :
17
+ - postgres-image : postgres:17
18
+ postgres-auth : scram-sha-256
19
+ - postgres-image : postgres:14
20
+ postgres-auth : md5
19
21
20
22
container :
21
23
image : swiftlang/swift:${{ matrix.image }}
24
+ volumes : ["pgrunshare:/var/run/postgresql"]
22
25
env :
23
- REDIS_HOSTNAME : " redis"
26
+ POSTGRES_DB : " test_database"
27
+ POSTGRES_USER : " test_user"
28
+ POSTGRES_PASSWORD : " test_password"
29
+ POSTGRES_HOSTNAME : " psql"
30
+ POSTGRES_SOCKET : " /var/run/postgresql/.s.PGSQL.5432"
31
+ POSTGRES_HOST_AUTH_METHOD : ${{ matrix.postgres-auth }}
32
+ services :
33
+ psql :
34
+ image : ${{ matrix.postgres-image }}
35
+ volumes : ["pgrunshare:/var/run/postgresql"]
36
+ env :
37
+ POSTGRES_DB : " test_database"
38
+ POSTGRES_USER : " test_user"
39
+ POSTGRES_PASSWORD : " test_password"
40
+ POSTGRES_HOST_AUTH_METHOD : ${{ matrix.postgres-auth }}
41
+ POSTGRES_INITDB_ARGS : --auth-host=${{ matrix.postgres-auth }}
24
42
25
43
steps :
26
44
- name : Checkout
Original file line number Diff line number Diff line change 1
- // swift-tools-version: 5.9
1
+ // swift-tools-version: 5.10
2
2
3
3
import PackageDescription
4
4
You can’t perform that action at this time.
0 commit comments