-
-
Notifications
You must be signed in to change notification settings - Fork 11
25 lines (23 loc) · 663 Bytes
/
Copy pathunit-tests.yml
File metadata and controls
25 lines (23 loc) · 663 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
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]
multisite: [true, false]
wp_version: ['6.1', 'latest']
uses: alleyinteractive/.github/.github/workflows/php-tests.yml@feature/php-tests-core-suite
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'