@@ -32,15 +32,15 @@ jobs:
32
32
ruby-version : ${{ matrix.ruby-version }}
33
33
bundler-cache : true # runs 'bundle install' and caches installed gems automatically
34
34
- name : Run tests
35
- run :
36
- - echo "JAVA_OPTS=$JAVA_OPTS"
37
- - export JRUBY_OPTS="-J-Xms64M -J-Xmx1024M"
38
- - rake jar # compiles ext generates: lib/arjdbc/jdbc/adapter_java.jar
39
- - mysql --version || true # to see if we're using MySQL or MariaDB
40
- - rake db:mysql
41
- - " mysql -e " CREATE USER rails@localhost;"
42
- - mysql -e "grant all privileges on activerecord_unittest.* to rails@localhost;"
43
- - mysql -e "grant all privileges on activerecord_unittest2.* to rails@localhost;"
44
- - mysql -e "grant all privileges on inexistent_activerecord_unittest.* to rails@localhost;"
45
- - mysql -e "CREATE DATABASE activerecord_unittest DEFAULT CHARACTER SET utf8mb4;"
46
- - mysql -e "CREATE DATABASE activerecord_unittest2 DEFAULT CHARACTER SET utf8mb4;"
35
+ run : |
36
+ echo "JAVA_OPTS=$JAVA_OPTS"
37
+ export JRUBY_OPTS="-J-Xms64M -J-Xmx1024M"
38
+ rake jar # compiles ext generates: lib/arjdbc/jdbc/adapter_java.jar
39
+ mysql --version || true # to see if we're using MySQL or MariaDB
40
+ rake db:mysql
41
+ "mysql -e "CREATE USER rails@localhost;"
42
+ mysql -e "grant all privileges on activerecord_unittest.* to rails@localhost;"
43
+ mysql -e "grant all privileges on activerecord_unittest2.* to rails@localhost;"
44
+ mysql -e "grant all privileges on inexistent_activerecord_unittest.* to rails@localhost;"
45
+ mysql -e "CREATE DATABASE activerecord_unittest DEFAULT CHARACTER SET utf8mb4;"
46
+ mysql -e "CREATE DATABASE activerecord_unittest2 DEFAULT CHARACTER SET utf8mb4;"
0 commit comments