From c817305b3a478d7c28ddafdc05f0c0ba2c816eba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Luis=20Leal=20Cardoso=20Junior?= Date: Sat, 5 Mar 2022 18:42:42 -0300 Subject: Setup windows tests --- .github/workflows/test.yml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4ef34eb3..a1f1253a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: | -- cgit v1.2.1