Skip to content

Commit 1088921

Browse files
committed
Get GHA build working
1 parent eaf4013 commit 1088921

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/ruby.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ jobs:
3232
ruby-version: ${{ matrix.ruby-version }}
3333
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
3434
- 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

Comments
 (0)