-
Notifications
You must be signed in to change notification settings - Fork 7
64 lines (59 loc) · 1.41 KB
/
docker-behave.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
54
55
56
57
58
59
60
61
62
63
64
name: Behave tests
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: behave
runs-on: ubuntu-22.04
strategy:
matrix:
feature:
- "archive"
- "async"
- "autofailover"
- "cascade"
- "consecutive_switch"
- "coordinator"
- "coordinator_fail"
- "dead_primary_switchover"
- "disable_sync"
- "failed_promote"
- "failover_timeout"
- "initialization"
- "kill_non_ha_replica"
- "kill_primary"
- "kill_replica"
- "maintenance"
- "op_track"
- "pgconsul_util"
- "plugins"
- "primary_switch"
- "priority"
- "reset_sync"
- "single_node"
- "slot"
- "start"
- "switchover"
- "targeted_switchover"
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install tox
run: pip install tox
- name: Test
run: "TEST_ARGS='-i ${{ matrix.feature }}.feature' make check"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: logs-${{ matrix.feature }}
path: logs