Skip to content

Commit c4b1c25

Browse files
authored
Add debugging
1 parent 6aaa156 commit c4b1c25

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/spio.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,6 @@ jobs:
5959
- name: Install Composer dependencies
6060
run: composer install --no-interaction --prefer-dist
6161

62-
- name: Test that MySQL works properly
63-
run: |
64-
timeout=30
65-
while ! mysqladmin ping -h "127.0.0.1" --user="$DB_USER" --password="$DB_PASS" --silent; do
66-
>&2 echo "MySQL is unavailable - sleeping"
67-
sleep 1
68-
timeout=$((timeout-1))
69-
if [ $timeout -eq 0 ]; then
70-
>&2 echo "MySQL still not responding, aborting."
71-
exit 1
72-
fi
73-
done
74-
7562
- name: Install WordPress Unit Test Suite
7663
run: |
7764
mkdir -p "${WP_TESTS_DIR}"
@@ -88,8 +75,7 @@ jobs:
8875
fi
8976
done
9077
echo "Listing WordPress files..."
91-
ls -alh /tmp/wordpress-tests-lib/
92-
ls -alh /tmp/wordpress-tests-lib/includes/
78+
ls -alh /tmp/wordpress/wp-includes/
9379
9480
- name: Run PHPUnit tests
9581
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)