File tree 2 files changed +22
-4
lines changed
2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -96,10 +96,22 @@ jobs:
96
96
run : tar czf ruby-head-${{ matrix.os }}.tar.gz -C ~/.rubies ruby-head
97
97
98
98
# Test
99
- - run : ~/.rubies/ruby-head/bin/ruby --version
100
- - run : ~/.rubies/ruby-head/bin/gem --version
101
- - run : ~/.rubies/ruby-head/bin/rake --version
102
- - run : ~/.rubies/ruby-head/bin/ruby -ropen-uri -e 'puts open("https://rubygems.org/") { |f| f.read(1024) }'
99
+ - run : echo "::add-path::$HOME/.rubies/ruby-head/bin"
100
+ - uses : actions/checkout@v2
101
+ with :
102
+ path : test_files
103
+ - run : mv test_files/Gemfile .
104
+ - run : ruby --version
105
+ - run : gem --version
106
+ - run : rake --version
107
+ - run : ruby -ropen-uri -e 'puts open("https://rubygems.org/") { |f| f.read(1024) }'
108
+ - run : gem install json:2.2.0 --no-document
109
+ - run : bundle --version
110
+ - run : bundle install
111
+ - run : bundle exec rake --version
112
+ - name : Subprocess test
113
+ run : ruby -e 'p RbConfig::CONFIG["CPPFLAGS"]; def Warning.warn(s); raise s; end; system RbConfig.ruby, "-e", "p :OK"'
114
+
103
115
- run : make test-spec MSPECOPT=-j
104
116
- run : make test-all TESTS="-j8"
105
117
Original file line number Diff line number Diff line change
1
+ # Used for testing
2
+ source 'https://rubygems.org'
3
+
4
+ gem "rake"
5
+ gem "path"
6
+ gem "json" , "2.2.0"
You can’t perform that action at this time.
0 commit comments