File tree Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,10 @@ runs:
1111 - uses : ruby/setup-ruby@v1
1212 with :
1313 ruby-version : ${{ inputs.ruby-version }}
14- bundler : 2.2.10
1514
1615 - name : Install dependencies
1716 shell : bash
18- run : bundle _2.2.10_ install
17+ run : bundle install
1918
2019 - name : Skip end to end tests for jruby
2120 if : ${{ startsWith(inputs.ruby-version, 'jruby') }}
2423
2524 - name : Run tests
2625 shell : bash
27- run : bundle _2.2.10_ exec rspec spec
26+ run : bundle exec rspec spec
2827
2928 - name : Run RuboCop
3029 shell : bash
Original file line number Diff line number Diff line change 11name : Run CI
22on :
33 push :
4- branches : [ main ]
4+ branches : [main]
55 paths-ignore :
6- - ' **.md' # Do not need to run CI for markdown changes.
6+ - " **.md" # Do not need to run CI for markdown changes.
77 pull_request :
8- branches : [ main ]
8+ branches : [main]
99 paths-ignore :
10- - ' **.md'
10+ - " **.md"
1111
1212jobs :
1313 build :
Original file line number Diff line number Diff line change 11TEMP_TEST_OUTPUT =/tmp/sse-contract-test-service.log
22
33build-contract-tests :
4- @cd contract-tests && bundle _2.2.10_ install
4+ @cd contract-tests && bundle install
55
66start-contract-test-service :
7- @cd contract-tests && bundle _2.2.10_ exec ruby service.rb
7+ @cd contract-tests && bundle exec ruby service.rb
88
99start-contract-test-service-bg :
1010 @echo " Test service output will be captured in $( TEMP_TEST_OUTPUT) "
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ Gem::Specification.new do |spec|
1818 spec . executables = spec . files . grep ( %r{^bin/} ) { |f | File . basename ( f ) }
1919 spec . require_paths = [ 'lib' ]
2020
21- spec . add_development_dependency 'bundler' , '2.2.10'
2221 spec . add_development_dependency 'rspec' , '~> 3.2'
2322 spec . add_development_dependency 'rspec_junit_formatter' , '~> 0.3.0'
2423 spec . add_development_dependency "rubocop" , "~> 1.37"
You can’t perform that action at this time.
0 commit comments