-
-
Notifications
You must be signed in to change notification settings - Fork 93
41 lines (39 loc) · 974 Bytes
/
integration-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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
name: Integration Tests
on:
push:
branches:
- 'develop'
- 'trunk'
- 'master'
pull_request:
branches:
- '**'
workflow_dispatch:
jobs:
test:
name: WP ${{ matrix.wp }}
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-integration-tests.yml@f8443397b5f614bee348733e1f374109de3b824b
strategy:
matrix:
wp:
# Latest 3 major versions of WordPress
- '6.7'
- '6.6'
- '6.5'
php:
# Newest and oldest supported versions of PHP
- '8.3'
- '7.4'
include:
# Latest WordPress on PHP 8.4
- php: '8.4'
wp: '6.7'
# Oldest supported version of WordPress
- php: '7.4'
wp: '5.8'
fail-fast: false
with:
wp: ${{ matrix.wp }}
php: ${{ matrix.php }}
node: false