-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 960 Bytes
/
ci.yaml
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
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
pg-version: ['16', '15', '14', '13', '12']
steps:
- uses: actions/checkout@v4
#- name: huh
#run: ls -la
#working-directory: ${{ github.workspace }}/tmp
- name: debug 1
run: |
pwd
tree
file /home/runner/work/pg_bzip/pg_bzip/test/samples/all_movies.csv
file ./test/samples/all_movies.csv
- uses: cachix/install-nix-action@v24
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: debug 2
run: |
pwd
tree
file /home/runner/work/pg_bzip/pg_bzip/test/samples/all_movies.csv
file ./test/samples/all_movies.csv
- name: Run tests
run: nix-shell --run "with-pg-${{ matrix.pg-version }} make installcheck"
- if: ${{ failure() }}
run: cat output/regression.diffs