diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 9cbcadff..9341600e 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -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)))" @@ -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: |