Skip to content

Commit 563f888

Browse files
committed
Test with multiple versions of Ubuntu
1 parent 141fea8 commit 563f888

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,22 @@ name: build
22
on: [push, pull_request]
33
jobs:
44
ubuntu:
5-
runs-on: ubuntu-latest
5+
runs-on: ${{ matrix.os }}
66
if: ${{ !startsWith(github.ref_name, 'mac') && !startsWith(github.ref_name, 'windows') }}
77
strategy:
88
fail-fast: false
99
matrix:
10-
postgres: [15, 14, 13, 12, 11]
10+
include:
11+
- postgres: 15
12+
os: ubuntu-22.04
13+
- postgres: 14
14+
os: ubuntu-22.04
15+
- postgres: 13
16+
os: ubuntu-20.04
17+
- postgres: 12
18+
os: ubuntu-20.04
19+
- postgres: 11
20+
os: ubuntu-18.04
1121
steps:
1222
- uses: actions/checkout@v3
1323
- uses: ankane/setup-postgres@v1

0 commit comments

Comments
 (0)