mirror of
				https://github.com/pry/pry.git
				synced 2022-11-09 12:35:05 -05:00 
			
		
		
		
	Setup windows tests
This commit is contained in:
		
							parent
							
								
									454990b834
								
							
						
					
					
						commit
						c817305b3a
					
				
					 1 changed files with 20 additions and 6 deletions
				
			
		
							
								
								
									
										26
									
								
								.github/workflows/test.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										26
									
								
								.github/workflows/test.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -6,7 +6,7 @@ jobs:
 | 
			
		|||
  test:
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
        os: [ubuntu-latest]
 | 
			
		||||
        os: [ubuntu-latest, windows-latest]
 | 
			
		||||
        ruby:
 | 
			
		||||
          - 2.0
 | 
			
		||||
          - 2.1
 | 
			
		||||
| 
						 | 
				
			
			@ -23,8 +23,24 @@ jobs:
 | 
			
		|||
          # - head is currently broken due to yard support for 3.2.0-dev
 | 
			
		||||
          - jruby
 | 
			
		||||
          # - jruby-head
 | 
			
		||||
        exclude:
 | 
			
		||||
          - os: windows-latest
 | 
			
		||||
            ruby: jruby
 | 
			
		||||
          - os: windows-latest
 | 
			
		||||
            ruby: '2.0'
 | 
			
		||||
          - os: windows-latest
 | 
			
		||||
            ruby: '2.1'
 | 
			
		||||
          - os: windows-latest
 | 
			
		||||
            ruby: '2.2'
 | 
			
		||||
          - os: windows-latest
 | 
			
		||||
            ruby: '2.3' # Intermittent failing Expression: RBASIC_CLASS(ret) == rb_cString
 | 
			
		||||
          - os: windows-latest
 | 
			
		||||
            ruby: '3.0'
 | 
			
		||||
          - os: windows-latest
 | 
			
		||||
            ruby: '3.1'
 | 
			
		||||
 | 
			
		||||
    runs-on: ${{ matrix.os }}
 | 
			
		||||
    continue-on-error: true
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v2
 | 
			
		||||
| 
						 | 
				
			
			@ -38,12 +54,10 @@ jobs:
 | 
			
		|||
    - name: Install dependencies
 | 
			
		||||
      run: bundle install
 | 
			
		||||
 | 
			
		||||
    # Rubocop is not included on the Gemfile for earlier rubies. This can be dropped as soon as the support is dropped.
 | 
			
		||||
    - name: Rubocop lint
 | 
			
		||||
      run: |
 | 
			
		||||
        if bundle list | grep rubocop
 | 
			
		||||
        then
 | 
			
		||||
            bundle exec rubocop --parallel
 | 
			
		||||
        fi
 | 
			
		||||
      if: matrix.ruby != '2.0' && matrix.ruby != '2.1' && matrix.ruby != '2.2'
 | 
			
		||||
      run: rubocop --parallel
 | 
			
		||||
 | 
			
		||||
    - name: YARD lint
 | 
			
		||||
      run: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue