generated from tj-actions/docker-action
-
-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (38 loc) · 1011 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
shellcheck:
name: Run shellcheck
runs-on: ubuntu-latest
steps:
- name: Checkout to branch
uses: actions/checkout@v4
- name: shellcheck
uses: reviewdog/[email protected]
test:
name: Test setup-postgresql
runs-on: ${{ matrix.platform }}
concurrency: ${{ matrix.platform }}-${{ matrix.postgresql_version }}-${{ github.ref }}
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, ubuntu-20.04, macos-latest, macos-11, macos-13, windows-latest]
postgresql_version: [10, 11, 12, 14, 15]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run setup-postgresql
uses: ./
with:
postgresql-version: ${{ matrix.postgresql_version }}
- name: Verify PostgreSQL
run: |
pg_dump --version
psql --version
pg_restore --version