Skip to content

Commit

Permalink
Update test_mysql.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
parpalak committed Sep 4, 2024
1 parent 3fd37b5 commit 1c7a1cf
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test_mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,17 @@ jobs:
php_versions: 8.2
mysql_versions: '8.1'
-
operating_system: 'ubuntu-22.04'
operating_system: 'ubuntu-24.04'
php_versions: 8.2
mysql_versions: 'mariadb-11.4'
-
operating_system: 'ubuntu-22.04'
php_versions: 8.3
mysql_versions: '8.2'
-
operating_system: 'ubuntu-24.04'
php_versions: 8.3
mysql_versions: 'mariadb-11.5'

runs-on: '${{ matrix.operating_system }}'

Expand All @@ -64,8 +68,8 @@ jobs:

- name: 'Setup MySQL'
run: |
mysql -e 'SELECT version();' -u${{ env.DB_USER }} -h127.0.0.1 -p${{ env.DB_PASSWORD }}
mysql -e 'CREATE DATABASE ${{ env.DB_DATABASE }};' -u${{ env.DB_USER }} -h127.0.0.1 -p${{ env.DB_PASSWORD }}
mysql -e 'SELECT version();' -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }}
mysql -e 'CREATE DATABASE ${{ env.DB_DATABASE }};' -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }}
- name: 'Setup PHP'
uses: shivammathur/setup-php@v2
Expand All @@ -83,4 +87,4 @@ jobs:

- name: Run profiling
if: success() || failure()
run: php bin/codecept run -g profile -d
run: php bin/codecept run -g profile -d

0 comments on commit 1c7a1cf

Please sign in to comment.