File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636
3737 strategy :
3838 matrix :
39- wp : [ '5.7', '5.8' ]
39+ wp : [ '5.7', '5.8', '5.9' ]
4040
4141 steps :
4242 - uses : actions/checkout@v2
@@ -66,46 +66,13 @@ jobs:
6666 - name : Running PHP unit tests
6767 run : npm run test:unit:php:ci
6868
69- tests-wp-59 :
70- name : Tests WordPress 5.9
71-
72- runs-on : ubuntu-latest
73-
74- steps :
75- - uses : actions/checkout@v2
76-
77- - name : Use Node.js 16
78- uses : actions/setup-node@v1
79- with :
80- node-version : 16
81-
82- - name : Install dependencies
83- run : |
84- npm ci
85- composer install
86-
87- - name : " Configure environment with WP 5.9"
88- run : |
89- echo -e '{\n\t"core": "https://wordpress.org/wordpress-5.9-RC3.zip"\n}' > ./.wp-env.override.json
90-
91- - name : Install WordPress
92- run : |
93- chmod -R 767 ./ # TODO: Possibly integrate in wp-env
94- npm run wp-env start
95-
96- - name : Running JavaScript E2E tests
97- run : npm run test:e2e
98-
99- - name : Running PHP unit tests
100- run : npm run test:unit:php:ci
101-
10269 deploy-dry-run :
10370 name : ' [DRY RUN] Deploy'
10471
10572 # only run on master but not tags
10673 if : ${{ github.ref == 'refs/heads/master' && !startsWith(github.ref, 'refs/tags/') }}
10774
108- needs : [ lint, tests, 'tests-wp-59' ]
75+ needs : [ lint, tests ]
10976
11077 runs-on : ubuntu-latest
11178
12491 # only run on tags
12592 if : startsWith(github.ref, 'refs/tags/')
12693
127- needs : [ lint, tests, 'tests-wp-59' ]
94+ needs : [ lint, tests ]
12895
12996 runs-on : ubuntu-latest
13097
Original file line number Diff line number Diff line change 11{
2- "core" : " WordPress/WordPress#5.8 " ,
2+ "core" : " WordPress/WordPress#5.9 " ,
33 "plugins" : [ " ." ],
44 "themes" : [
55 " ./test-themes/bootstrap"
You can’t perform that action at this time.
0 commit comments