1
0
Fork 0
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:
André Luis Leal Cardoso Junior 2022-03-05 18:42:42 -03:00
parent 454990b834
commit c817305b3a

View file

@ -6,7 +6,7 @@ jobs:
test: test:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest, windows-latest]
ruby: ruby:
- 2.0 - 2.0
- 2.1 - 2.1
@ -23,8 +23,24 @@ jobs:
# - head is currently broken due to yard support for 3.2.0-dev # - head is currently broken due to yard support for 3.2.0-dev
- jruby - jruby
# - jruby-head # - 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 }} runs-on: ${{ matrix.os }}
continue-on-error: true
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -38,12 +54,10 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: bundle install 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 - name: Rubocop lint
run: | if: matrix.ruby != '2.0' && matrix.ruby != '2.1' && matrix.ruby != '2.2'
if bundle list | grep rubocop run: rubocop --parallel
then
bundle exec rubocop --parallel
fi
- name: YARD lint - name: YARD lint
run: | run: |