forked from pact-foundation/pact-php
-
Notifications
You must be signed in to change notification settings - Fork 1
80 lines (65 loc) · 1.86 KB
/
compatibility-suite.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name: Compatibility Suite
on: [push, pull_request]
env:
PACT_DO_NOT_TRACK: true
jobs:
v1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: none
- uses: ramsey/composer-install@v3
- name: Run Behat
run: vendor/bin/behat compatibility-suite/pact-compatibility-suite/features/V1 --colors
env:
PACT_LOGLEVEL: debug
v2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: none
- uses: ramsey/composer-install@v3
- name: Run Behat
run: vendor/bin/behat compatibility-suite/pact-compatibility-suite/features/V2 --colors
env:
PACT_LOGLEVEL: debug
v3:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
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
env:
PACT_LOGLEVEL: debug
v4:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: none
- uses: ramsey/composer-install@v3
- name: Run Behat
run: vendor/bin/behat compatibility-suite/pact-compatibility-suite/features/V4 --colors
env:
PACT_LOGLEVEL: debug