-
-
Notifications
You must be signed in to change notification settings - Fork 13
42 lines (35 loc) · 921 Bytes
/
main.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:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
pg-version: ['13', '14', '15', '16', '17']
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v13
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Run tests
run: nix-shell --run "supautils-with-pg-${{ matrix.pg-version }} make installcheck"
- if: ${{ failure() }}
run: cat regression.diffs
test-on-macos:
runs-on: macos-13
strategy:
matrix:
pg-version: ['17']
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Run tests
run: nix-shell --run "supautils-with-pg-${{ matrix.pg-version }} make installcheck"
- if: ${{ failure() }}
run: cat regression.diffs