-
Notifications
You must be signed in to change notification settings - Fork 8
64 lines (59 loc) · 2.26 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:
command:
- "TEST_ARGS='-i pgconsul_util.feature' make check"
- "TEST_ARGS='-i initialization.feature' make check"
- "TEST_ARGS='-i priority.feature' make check"
- "TEST_ARGS='-i async.feature' make check"
- "TEST_ARGS='-i kill_primary.feature' make check"
- "TEST_ARGS='-i kill_replica.feature' make check"
- "TEST_ARGS='-i kill_non_ha_replica.feature' make check"
- "TEST_ARGS='-i slot.feature' make check"
- "TEST_ARGS='-i coordinator.feature' make check"
- "TEST_ARGS='-i coordinator_fail.feature' make check"
- "TEST_ARGS='-i single_node.feature' make check"
- "TEST_ARGS='-i op_track.feature' make check"
- "TEST_ARGS='-i maintenance.feature' make check"
- "TEST_ARGS='-i plugins.feature' make check"
- "TEST_ARGS='-i switchover.feature' make check"
- "TEST_ARGS='-i failover_timeout.feature' make check"
- "TEST_ARGS='-i cascade.feature' make check"
- "TEST_ARGS='-i disable_sync.feature' make check"
- "TEST_ARGS='-i autofailover.feature' make check"
- "TEST_ARGS='-i consecutive_switch.feature' make check"
- "TEST_ARGS='-i targeted_switchover.feature' make check"
- "TEST_ARGS='-i dead_primary_switchover.feature' make check"
- "TEST_ARGS='-i start.feature' make check"
- "TEST_ARGS='-i reset_sync.feature' make check"
- "TEST_ARGS='-i primary_switch.feature' make check"
- "TEST_ARGS='-i failed_promote.feature' make check"
- "TEST_ARGS='-i archive.feature' make check"
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install tox
run: pip install tox
- name: Test
run: ${{ matrix.command }}
- uses: actions/upload-artifact@v3
if: failure()
with:
name: logs
path: tests/logs