From 813402b64eceb7ce8b886910bba572df6530e15e Mon Sep 17 00:00:00 2001 From: Piotr Murach Date: Wed, 15 Sep 2021 23:52:21 +0200 Subject: [PATCH] Add Ruby 2.0 to CI workflow and allow bundler version configuration --- .github/workflows/ci.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2e3d64..6b7e4cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,8 +23,6 @@ jobs: os: - ubuntu-latest ruby: - - 2.1 - - 2.2 - 2.3 - 2.4 - 2.5 @@ -35,9 +33,22 @@ jobs: - jruby-head - truffleruby-head include: + - ruby: 2.0 + os: ubuntu-latest + coverage: false + bundler: 1 + - ruby: 2.1 + os: ubuntu-latest + coverage: false + bundler: 1 + - ruby: 2.2 + os: ubuntu-latest + coverage: false + bundler: 1 - ruby: 2.7 os: ubuntu-latest coverage: true + bundler: latest env: COVERAGE: ${{ matrix.coverage }} COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} @@ -48,8 +59,7 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - - name: Install bundler - run: gem install bundler -v '< 2.0' + bundler: ${{ matrix.bundler }} - name: Install dependencies run: bundle install --jobs 4 --retry 3 - name: Run tests