Skip to content

Remove MAUTH_CONFIG_YML from spec_helper.rb #12

Remove MAUTH_CONFIG_YML from spec_helper.rb

Remove MAUTH_CONFIG_YML from spec_helper.rb #12

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: CI
on:
push:
branches:
- master
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
concurrency:
# Cancel intermediate builds
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.ruby-version }}-${{ matrix.appraisal }}
cancel-in-progress: true
strategy:
matrix:
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3']
appraisal: ['faraday_1.x', 'faraday_2.x']
env:
BUNDLE_JOBS: 4
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: |
bundle exec rspec
bundle exec rubocop
bundle exec rake benchmark