Skip to content

Commit ddb5171

Browse files
committed
Use PostgreSQL matrix
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent fa59199 commit ddb5171

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/linux.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
ruby: [ '2.4', '2.5', '2.6', '2.7' ]
13+
postgres: [ '9', '10', '11', '12', '13' ]
1314
os:
1415
- ubuntu-latest
1516
services:
1617
postgres:
17-
image: postgres:13
18+
image: postgres:${{ matrix.postgres }}
1819
ports:
1920
- 5432:5432
2021
env:
@@ -26,7 +27,7 @@ jobs:
2627
--health-interval 10s
2728
--health-timeout 5s
2829
--health-retries 5
29-
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
30+
name: Ruby ${{ matrix.ruby }} with PostgreSQL ${{ matrix.postgres }} unit testing on ${{ matrix.os }}
3031
steps:
3132
- uses: actions/checkout@v2
3233
- uses: ruby/setup-ruby@v1

0 commit comments

Comments
 (0)