-
-
Notifications
You must be signed in to change notification settings - Fork 11
26 lines (24 loc) · 681 Bytes
/
Copy pathunit-tests.yml
File metadata and controls
26 lines (24 loc) · 681 Bytes
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
name: Unit Tests
on:
push:
branches:
- main
pull_request:
jobs:
tests:
name: "WP: ${{ matrix.wp_version }} - PHP: ${{ matrix.php }}"
strategy:
fail-fast: false
matrix:
php: [8.0, 8.1, 8.2, 8.3, 8.4]
object: [true, false]
multisite: [true, false]
wp_version: ['6.1', "6.8", 'latest']
uses: alleyinteractive/.github/.github/workflows/php-tests.yml@main
with:
multisite: ${{ matrix.multisite }}
php: ${{ matrix.php }}
wordpress: ${{ matrix.wp_version }}
object-cache: ${{ matrix.object }}
test-suite: 'core-test-suite'
package-directory: 'plugins/wp-graphql-buddypress'