Skip to content

Commit

Permalink
#51 Run tests on MySQL 8 with MySQL8InnoDBDialect
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis-gr authored and RogerKratz committed Jan 26, 2024
1 parent db11985 commit 4e80798
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
dialect: "NHibernate.Dialect.FirebirdDialect"
driverclass: "NHibernate.Driver.FirebirdClientDriver"
- db: MySQL
connectionstring: "Server=localhost;Uid=root;Password=envers;Database=envers;Old Guids=True;SslMode=none;"
dialect: "NHibernate.Dialect.MySQL5Dialect"
connectionstring: "Server=localhost;Uid=root;Password=envers;Database=envers;SslMode=none;"
dialect: "NHibernate.Dialect.MySQL8InnoDBDialect"
driverclass: "NHibernate.Driver.MySqlDataDriver"
- db: Oracle
connectionstring: "User ID=envers;Password=envers;Metadata Pooling=false;Self Tuning=false;Data Source=(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XEPDB1)))"
Expand All @@ -47,7 +47,7 @@ jobs:
if: matrix.db == 'MySQL'
run: |
sudo service mysql stop
docker run --name mysql -e MYSQL_ROOT_PASSWORD=envers -e MYSQL_USER=envers -e MYSQL_PASSWORD=envers -e MYSQL_DATABASE=envers -p 3306:3306 --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 -d mysql:5.7 mysqld --lower_case_table_names=1 --character-set-server=utf8 --collation-server=utf8_general_ci
docker run --name mysql --tmpfs /var/lib/mysql:rw,noexec,nosuid,size=256m -e MYSQL_ROOT_PASSWORD=envers -e MYSQL_USER=envers -e MYSQL_PASSWORD=envers -e MYSQL_DATABASE=envers -p 3306:3306 --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 -d mysql:8.0 mysqld --lower_case_table_names=1 --skip-ssl --default_authentication_plugin=mysql_native_password
- name: Set up Oracle
if: matrix.db == 'Oracle'
run: |
Expand Down

0 comments on commit 4e80798

Please sign in to comment.