Add bake-test-external and test faraday-net_http as part of the CI

This commit is contained in:
Mattia Giuffrida 2022-08-08 08:52:07 +01:00 committed by Matt
parent 7f444c3971
commit af116aa0a3
4 changed files with 12 additions and 1 deletions

View File

@ -49,7 +49,13 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Test
- name: RSpec
continue-on-error: ${{ matrix.experimental }}
run: bundle exec rake
- name: Test External Adapters
if: ${{ matrix.ruby != '2.6' }}
continue-on-error: ${{ matrix.experimental }}
run: bundle exec bake test:external

1
.gitignore vendored
View File

@ -14,6 +14,7 @@ tmp
.bundle
Gemfile.lock
vendor/bundle
external
## PROJECT::SPECIFIC
.rbx

View File

@ -7,6 +7,7 @@ source 'https://rubygems.org'
gem 'jruby-openssl', '~> 0.11.0', platforms: :jruby
group :development, :test do
gem 'bake-test-external'
gem 'coveralls_reborn', require: false
gem 'pry'
gem 'rack', '~> 2.2'

3
config/external.yaml Normal file
View File

@ -0,0 +1,3 @@
faraday-net_http:
url: https://github.com/lostisland/faraday-net_http.git
command: bundle exec rspec