Skip to content

Commit dc986fb

Browse files
authored
Update run-tests.yml
1 parent 239131f commit dc986fb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/run-tests.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,15 @@ jobs:
4141
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
4242
coverage: none
4343
- name: Setup MySQL
44+
uses: shogo82148/actions-setup-mysql@v1
45+
with:
46+
myql-version: "8.0"
4447
env:
4548
DB_USERNAME: root
4649
DB_PASSWORD: root
4750
DB_DATABASE: workflow_storage_testing
48-
run: |
49-
sudo /etc/init.d/mysql start
50-
mysql -e 'CREATE DATABASE ${{ env.DB_DATABASE }};' -u${{ env.DB_USERNAME }} -p${{ env.DB_PASSWORD }}
51+
52+
- run: mysql -e 'CREATE DATABASE ${{ env.DB_DATABASE }};' -u${{ env.DB_USERNAME }} -p${{ env.DB_PASSWORD }}
5153
- name: Setup problem matchers
5254
run: |
5355
echo "::add-matcher::${{ runner.tool_cache }}/php.json"

0 commit comments

Comments
 (0)