From 06f3ed01fb712b114b9510746ffe9775699cf692 Mon Sep 17 00:00:00 2001 From: Nikita Bulai Date: Fri, 4 Feb 2022 16:25:00 +0300 Subject: [PATCH] Add jruby & truffleruby --- .github/workflows/ci.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 259ffae..7c77199 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,24 +8,41 @@ jobs: Ruby ${{ matrix.ruby }} (${{ matrix.gemfile }}) env: CI: true - runs-on: ${{ matrix.os }} + continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' || matrix.experimental }} if: | !( contains(github.event.pull_request.title, '[ci skip]') || contains(github.event.pull_request.title, '[skip ci]')) strategy: fail-fast: true matrix: + experimental: [false] os: [ ubuntu-latest ] ruby: - 2.6 - 2.7 - '3.0' - '3.1' - - head gemfile: - gemfiles/oga.gemfile - gemfiles/nokogiri.gemfile + include: + - ruby: head + os: ubuntu-latest + gemfile: gemfiles/nokogiri.gemfile + experimental: true + - ruby: head + os: ubuntu-latest + gemfile: gemfiles/oga.gemfile + experimental: true + - ruby: jruby + os: ubuntu-latest + gemfile: gemfiles/nokogiri.gemfile + experimental: true + - ruby: truffleruby + os: ubuntu-latest + gemfile: gemfiles/nokogiri.gemfile + experimental: true steps: - name: Repo checkout uses: actions/checkout@v2