diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2020-01-28 04:24:10 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2020-01-28 04:24:10 -0700 |
| commit | 4fd7dbc36b1f7df4f2d38672e888b8cc1293c06a (patch) | |
| tree | a69337c0cb721205a42ed3e8684b1b04f5742d84 /.github | |
| parent | c62197c6b9f78b2cfbbd52b410bcb11540081a14 (diff) | |
align config for GitHub Actions with Travis config; add additional Rubies
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5cc8afa..766fc82a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,22 +2,21 @@ name: CI on: [push, pull_request] jobs: build: + runs-on: windows-latest strategy: matrix: - ruby: [jruby, 2.4, 2.7] - runs-on: windows-latest + ruby: [jruby, '2.7', '2.6', '2.5', '2.4'] env: - PYGMENTS_VERSION: ~> 1.2.0 + PYGMENTS_VERSION: '~> 1.2.0' steps: - - name: Set up Ruby + - name: Checkout + uses: actions/checkout@v2 + - name: Install Ruby uses: eregon/use-ruby-action@v1.10.0 with: ruby-version: ${{ matrix.ruby }} - - name: Checkout - uses: actions/checkout@v2 - - name: Build - run: | - gem install bundler - bundle install --jobs 4 --retry 3 + run: gem install bundler + - name: Bundle + run: bundle --path .bundle/gems --jobs 3 --retry 3 --without docs - name: Test - run: bundle exec rake spec + run: bundle exec ruby -w $(bundle exec ruby -e "print File.join Gem.bindir, 'rake'") spec |
