-
Notifications
You must be signed in to change notification settings - Fork 78
53 lines (47 loc) · 1.05 KB
/
run-tests.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
43
44
45
46
47
48
49
50
51
52
53
name: Run Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build_package:
name: Run tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
PGVERSION:
- 16
TEST:
- ci
- pagila
- pagila-multi-steps
- unit
- blobs
- filtering
- extensions
- cdc-low-level
- cdc-test-decoding
- cdc-endpos-between-transaction
- cdc-wal2json
- follow-wal2json
- follow-9.6
- follow-data-only
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # all history for all branches and tags
- name: Set Version String From .git
run: make version
- name: Set environment variables
run: |
echo "TEST=${{ matrix.TEST }}" >> $GITHUB_ENV
- name: Run a test
timeout-minutes: 5
run: |
make tests/${TEST}