-
Notifications
You must be signed in to change notification settings - Fork 1
26 lines (26 loc) · 778 Bytes
/
ci.yml
File metadata and controls
26 lines (26 loc) · 778 Bytes
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
name: CI
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
pg: [17, 16, 15, 14, 13, 12, 11, 10]
name: 🐘 PostgreSQL ${{ matrix.pg }}
runs-on: ubuntu-latest
container: pgxn/pgxn-tools
steps:
- name: Start PostgreSQL ${{ matrix.pg }}
run: pg-start ${{ matrix.pg }}
- name: Check out the repo
uses: actions/checkout@v4
- name: Test on PostgreSQL ${{ matrix.pg }}
run: make test PGUSER=postgres
continue-on-error: true
- name: Output failed results
run: |
if [ -e test/regression.out ]; then
ls -la /var/log
ls -la /var/log/postgresql/
cat /var/log/postgresql/postgresql-${{ matrix.pg }}-test.log
exit 1
fi