-
Notifications
You must be signed in to change notification settings - Fork 64
36 lines (34 loc) · 982 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
name: CI
on:
push:
pull_request:
jobs:
build-and-run-tests:
name: Build and run tests
runs-on: ubuntu-latest
steps:
- name: clone-repository
uses: actions/checkout@v2
- name: install-dependencies
run: |
sudo apt update --fix-missing -y
sudo apt install -y libipc-run-perl
- name: build-postgres
run: |
./configure --with-icu --enable-cassert --enable-tap-tests
make world-bin -j8 COPT='-Werror -Wno-error=maybe-uninitialized'
- name: run-tests
run: |
make check-world
- name: upload-test-summary
if: failure()
uses: actions/upload-artifact@v4
with:
name: regression-summary
path: src/test/**/regression.out
- name: upload-test-differences
if: failure()
uses: actions/upload-artifact@v4
with:
name: regression-differences
path: src/test/**/regression.diffs