Skip to content

Commit aecf4c7

Browse files
authored
Merge pull request #1215 from json-api-dotnet/postgres-update
Update to PostgreSQL v15
2 parents c14637c + c7b8601 commit aecf4c7

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

appveyor.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ image:
44

55
version: '{build}'
66

7-
stack: postgresql 13.4
7+
stack: postgresql 15
88

99
environment:
1010
PGUSER: postgres
@@ -34,7 +34,10 @@ for:
3434
only:
3535
- image: Visual Studio 2022
3636
services:
37-
- postgresql13
37+
- postgresql15
38+
install:
39+
# Temporary workaround for https://help.appveyor.com/discussions/questions/60488-postgresql-version
40+
- net start postgresql-x64-15
3841
# REF: https://github.com/docascode/docfx-seed/blob/master/appveyor.yml
3942
before_build:
4043
- pwsh: |
@@ -101,7 +104,7 @@ build_script:
101104
102105
Write-Output "PostgreSQL version:"
103106
if ($IsWindows) {
104-
. "${env:ProgramFiles}\PostgreSQL\13\bin\psql" --version
107+
. "${env:ProgramFiles}\PostgreSQL\15\bin\psql" --version
105108
}
106109
else {
107110
psql --version

run-docker-postgres.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ docker run --rm --name jsonapi-dotnet-core-testing `
99
-e POSTGRES_USER=postgres `
1010
-e POSTGRES_PASSWORD=postgres `
1111
-p 5432:5432 `
12-
postgres:13.4
12+
postgres:15

0 commit comments

Comments
 (0)