mirror of
				https://github.com/jnunemaker/httparty
				synced 2023-03-27 23:23:07 -04:00 
			
		
		
		
	This PR adds Ruby 3.1 to the CI matrix. It includes two other changes: 1. Removes the .simplecov file, which causes an error on Ruby 3.1 (coverage attempts to start twice) 2. Removes the require "pry", as pry is not going to be the Ruby debugger going forward
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			629 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			629 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
name: CI
 | 
						|
on: [push, pull_request]
 | 
						|
jobs:
 | 
						|
  build:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    strategy:
 | 
						|
      matrix:
 | 
						|
        ruby:
 | 
						|
          - 2.3
 | 
						|
          - 2.4
 | 
						|
          - 2.5
 | 
						|
          - 2.6
 | 
						|
          - 2.7
 | 
						|
          - '3.0' # Quoted, to avoid YAML float 3.0 interplated to "3"
 | 
						|
          - 3.1
 | 
						|
    steps:
 | 
						|
      - name: Check out repository code
 | 
						|
        uses: actions/checkout@v2
 | 
						|
      - name: Set up Ruby
 | 
						|
        uses: ruby/setup-ruby@v1
 | 
						|
        with:
 | 
						|
          ruby-version: ${{ matrix.ruby }}
 | 
						|
          bundler-cache: true # Run "bundle install", and cache the result automatically.
 | 
						|
      - name: Run Rake
 | 
						|
        run: bundle exec rake
 |