Skip to content

Commit

Permalink
Removed named time zone [SLE-192]
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelgfeller committed May 15, 2024
1 parent 5ac7231 commit 086b989
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
operating-system: [ ubuntu-latest ]
php-versions: [ '8.2' ]
test-database: [ 'slim_example_project_test' ]
sql-time-zone: [ 'Europe/Zurich' ]
database-time-zone: [ '+01:00' ]
name: PHP ${{ matrix.php-versions }} Test

services:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
run: mysql -uroot -proot -e "SHOW VARIABLES LIKE 'version%';"

- name: Set MySQL timezone to swiss time
run: mysql -uroot -proot -e "SET GLOBAL time_zone = '${{ matrix.sql-time-zone }}';"
run: mysql -uroot -proot -e "SET GLOBAL time_zone = '${{ matrix.database-time-zone }}';"

- name: Create database
run: mysql -uroot -proot -e 'CREATE DATABASE IF NOT EXISTS ${{ matrix.test-database }} CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;'
Expand Down

0 comments on commit 086b989

Please sign in to comment.