-
Notifications
You must be signed in to change notification settings - Fork 89
88 lines (71 loc) · 2.39 KB
/
Copy pathcompatibility-suite.yml
File metadata and controls
88 lines (71 loc) · 2.39 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name: Compatibility Suite
on:
push:
branches:
- master
- 'release/**'
- '!release/9.x'
pull_request:
branches:
- master
- 'release/**'
- '!release/9.x'
env:
PACT_LOGLEVEL: debug
PACT_DO_NOT_TRACK: true
jobs:
v1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2
with:
php-version: 8.2
coverage: none
- uses: ramsey/composer-install@v3
- name: Run Behat
run: vendor/bin/behat compatibility-suite/pact-compatibility-suite/features/V1 --colors
v2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2
with:
php-version: 8.2
coverage: none
- uses: ramsey/composer-install@v3
- name: Run Behat
run: vendor/bin/behat compatibility-suite/pact-compatibility-suite/features/V2 --colors
v3:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2
with:
php-version: 8.2
coverage: none
- uses: ramsey/composer-install@v3
- name: Run Behat
run: vendor/bin/behat compatibility-suite/pact-compatibility-suite/features/V3 --name '/^((?!binary body \(negative|Message provider).)*$/' --colors
v4:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2
with:
php-version: 8.2
coverage: none
- uses: ramsey/composer-install@v3
- uses: pact-foundation/pact-cli@main
- name: Install sync-message-test plugin
run: pact plugin install https://github.com/tienvx/pact-sync-message-test-plugin/releases/tag/0.2.0 -y
- name: Run Behat
run: vendor/bin/behat compatibility-suite/pact-compatibility-suite/features/V4 --colors