Skip to content

Move require "faraday/multipart" to spec/ where it is being used (#1032) #245

Move require "faraday/multipart" to spec/ where it is being used (#1032)

Move require "faraday/multipart" to spec/ where it is being used (#1032) #245

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened]
jobs:
cucumber:
name: "Cucumber / Ruby ${{ matrix.ruby-version }} / Rack ${{ matrix.rack }} / Faraday ${{ matrix.faraday }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ["3.3", "3.2", "3.1", "3.0", "2.7"]
faraday: ["1.0", "2.0"]
rack: ["2.0", "3.0"]
env:
FARADAY_VERSION: ${{ matrix.faraday }}
RACK_VERSION: ${{ matrix.rack }}
steps:
- uses: actions/checkout@v4
- run: ./script/install-apt-deps.sh
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: cucumber
run: ./script/fail_if_warnings cucumber features/
rspec:
name: "RSpec / Ruby ${{ matrix.ruby-version }} / Rack ${{ matrix.rack }} / Faraday ${{ matrix.faraday }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ["3.3", "3.2", "3.1", "3.0", "2.7"]
faraday: ["1.0", "2.0"]
rack: ["2.0", "3.0"]
env:
FARADAY_VERSION: ${{ matrix.faraday }}
RACK_VERSION: ${{ matrix.rack }}
steps:
- uses: actions/checkout@v4
- run: ./script/install-apt-deps.sh
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: rspec
run: ./script/fail_if_warnings rspec spec/
doc-coverage:
name: "Doc coverage"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: ./script/install-apt-deps.sh
- uses: ruby/setup-ruby@v1
with:
ruby-version: "ruby"
bundler-cache: true
- name: doc coverage
run: bundle exec yard stats --list-undoc | tee /dev/stdout | grep -q '100.00% documented'