File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
name : Coding Standards and Tests
2
2
3
- on : [push]
3
+ on : [ push ]
4
4
5
5
env :
6
6
WP_TESTS_DIR : /github/home/wp-tests/wordpress-tests-lib
10
10
11
11
test :
12
12
runs-on : ubuntu-latest
13
+ strategy :
14
+ matrix :
15
+ php-version : [ 5.6, 7.3, 7.4 ]
16
+ wordpress-version : [ latest ]
13
17
container :
14
- image : junaidbhura/wp-tests:php-7.3
18
+ image : junaidbhura/wp-tests:php-${{ matrix.php-version }}
15
19
services :
16
20
mysql :
17
21
image : mysql:5.7.27
45
49
46
50
- name : Install WordPress test suite
47
51
run : |
48
- bash bin/install-wp-tests.sh wordpress_test root root mysql latest
52
+ bash bin/install-wp-tests.sh wordpress_test root root mysql ${{ matrix.wordpress-version }}
49
53
50
54
- name : Coding standards
51
55
run : $HOME/.composer/vendor/bin/phpcs phpcs.ruleset.xml
You can’t perform that action at this time.
0 commit comments