Skip to content

Commit f48f92e

Browse files
committed
Revert changes to GHA test setup
1 parent dfb7760 commit f48f92e

File tree

1 file changed

+6
-21
lines changed

1 file changed

+6
-21
lines changed

.github/workflows/testing.yml

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -59,60 +59,45 @@ jobs:
5959

6060
functional: #----------------------------------------------------------------------
6161
name: Functional - WP ${{ matrix.wp }} on PHP ${{ matrix.php }} with MySQL ${{ matrix.mysql }}
62-
continue-on-error: ${{ matrix.experimental }}
6362
strategy:
6463
fail-fast: false
6564
matrix:
66-
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
65+
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
6766
wp: ['latest']
6867
mysql: ['8.0']
6968
test: ["composer behat || composer behat-rerun"]
70-
experimental: [false]
7169
include:
7270
- php: '5.6'
7371
wp: 'trunk'
7472
mysql: '8.0'
75-
experimental: false
7673
test: "composer behat || composer behat-rerun"
7774
- php: '5.6'
7875
wp: 'trunk'
7976
mysql: '5.7'
80-
experimental: false
8177
test: "composer behat || composer behat-rerun"
8278
- php: '5.6'
8379
wp: 'trunk'
8480
mysql: '5.6'
85-
experimental: false
8681
test: "composer behat || composer behat-rerun"
8782
- php: '7.4'
8883
wp: 'trunk'
8984
mysql: '8.0'
90-
experimental: true
9185
test: "composer behat || composer behat-rerun"
9286
- php: '8.0'
9387
wp: 'trunk'
9488
mysql: '8.0'
95-
experimental: true
96-
test: "composer behat || composer behat-rerun"
97-
- php: '8.0'
98-
wp: 'latest'
99-
mysql: '8.0'
100-
experimental: true
10189
test: "composer behat || composer behat-rerun"
10290
- php: '8.0'
10391
wp: 'trunk'
10492
mysql: '5.7'
105-
experimental: true
10693
test: "composer behat || composer behat-rerun"
10794
- php: '8.0'
10895
wp: 'trunk'
10996
mysql: '5.6'
110-
experimental: true
11197
test: "composer behat || composer behat-rerun"
11298
- php: '5.6'
11399
wp: '3.7'
114100
mysql: '5.6'
115-
experimental: false
116101
test: "composer behat || composer behat-rerun"
117102
runs-on: ubuntu-20.04
118103

@@ -124,10 +109,6 @@ jobs:
124109
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=wp_cli_test --entrypoint sh mysql:${{ matrix.mysql }} -c "exec docker-entrypoint.sh mysqld --default-authentication-plugin=mysql_native_password"
125110

126111
steps:
127-
128-
- name: Test connect to MySQL
129-
run: mysql -uroot -proot -h127.0.0.1 -P${{ job.services.mysql.ports[3306] }} -e "SHOW DATABASES"
130-
131112
- name: Check out source code
132113
uses: actions/checkout@v2
133114

@@ -144,7 +125,7 @@ jobs:
144125
php-version: '${{ matrix.php }}'
145126
extensions: mysql, zip
146127
coverage: none
147-
tools: composer, phpunit:5.7.27
128+
tools: composer
148129

149130
- name: Get Composer cache Directory
150131
if: steps.check_files.outputs.files_exists == 'true'
@@ -165,6 +146,10 @@ jobs:
165146
if: steps.check_files.outputs.files_exists == 'true'
166147
run: COMPOSER_ROOT_VERSION=dev-master composer install --prefer-dist --no-progress --no-suggest
167148

149+
- name: Start MySQL server
150+
if: steps.check_files.outputs.files_exists == 'true'
151+
run: sudo systemctl start mysql
152+
168153
- name: Configure DB environment
169154
if: steps.check_files.outputs.files_exists == 'true'
170155
run: |

0 commit comments

Comments
 (0)