File tree Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 1818 ' 2.6' ,
1919 ' 2.5' ,
2020 ruby-head,
21- ruby-debug
21+ ruby-debug,
22+ truffleruby,
23+ truffleruby-head
2224 ]
2325 env :
2426 ORACLE_HOME : /usr/lib/oracle/21/client64
6971 - name : Create database user
7072 run : |
7173 ./ci/setup_accounts.sh
74+ - name : Disable ActiveRecord for TruffleRuby
75+ run : |
76+ echo "NO_ACTIVERECORD=true" >> $GITHUB_ENV
77+ if : " contains(matrix.ruby, 'truffleruby')"
7278 - name : Bundle install
7379 run : |
7480 bundle install --jobs 4 --retry 3
Original file line number Diff line number Diff line change 11require "rubygems"
22require "bundler"
33Bundler . setup ( :default , :development )
4- require "simplecov"
54
6- SimpleCov . configure do
7- load_profile "root_filter"
8- load_profile "test_frameworks"
9- end
5+ unless ENV [ "NO_ACTIVERECORD" ]
6+ require "simplecov"
107
11- ENV [ "COVERAGE" ] && SimpleCov . start do
12- add_filter "/.rvm/"
8+ SimpleCov . configure do
9+ load_profile "root_filter"
10+ load_profile "test_frameworks"
11+ end
12+
13+ ENV [ "COVERAGE" ] && SimpleCov . start do
14+ add_filter "/.rvm/"
15+ end
1316end
1417
1518$LOAD_PATH. unshift ( File . join ( File . dirname ( __FILE__ ) , ".." , "lib" ) )
You can’t perform that action at this time.
0 commit comments