-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #786 from QoboLtd/nativeuuid
Added nativeuuid type for databases with a native uuid type
- Loading branch information
Showing
10 changed files
with
179 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
php-version: ['8.1', '8.2', '8.3', '8.4'] | ||
db-type: [mysql, pgsql, sqlite] | ||
db-type: [mariadb, mysql, pgsql, sqlite] | ||
prefer-lowest: [''] | ||
cake_version: [''] | ||
include: | ||
|
@@ -52,6 +52,19 @@ jobs: | |
with: | ||
persist-credentials: false | ||
|
||
- name: Setup MariaDB | ||
uses: getong/[email protected] | ||
if: matrix.db-type == 'mariadb' | ||
with: | ||
mariadb version: '10.11.10' | ||
mysql database: 'cakephp_test' | ||
mysql root password: 'root' | ||
- name: Setup MariaDB (part 2) | ||
if: matrix.db-type == 'mariadb' | ||
run: | | ||
mysql -h 127.0.0.1 -u root -proot -e 'CREATE DATABASE cakephp_comparisons;' | ||
mysql -h 127.0.0.1 -u root -proot -e 'CREATE DATABASE cakephp_snapshot;' | ||
- name: Setup MySQL | ||
if: matrix.db-type == 'mysql' | ||
run: | | ||
|
@@ -108,6 +121,12 @@ jobs: | |
if [[ ${{ matrix.db-type }} == 'sqlite' ]]; then | ||
export DB='sqlite' | ||
fi | ||
if [[ ${{ matrix.db-type }} == 'mariadb' ]]; then | ||
export DB='mysql' | ||
export DB_URL='mysql://root:[email protected]/cakephp_test' | ||
export DB_URL_COMPARE='mysql://root:[email protected]/cakephp_comparisons' | ||
export DB_URL_SNAPSHOT='mysql://root:[email protected]/cakephp_snapshot' | ||
fi | ||
if [[ ${{ matrix.db-type }} == 'mysql' ]]; then | ||
export DB='mysql' | ||
export DB_URL='mysql://root:[email protected]/cakephp_test' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.