Skip to content

Commit

Permalink
Add GitHub Actions script (PR #1496)
Browse files Browse the repository at this point in the history
  • Loading branch information
slonopotamus authored and mojavelinux committed Jan 28, 2020
1 parent 87d61c4 commit c62197c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
ruby: [jruby, 2.4, 2.7]
runs-on: windows-latest
env:
PYGMENTS_VERSION: ~> 1.2.0
steps:
- name: Set up 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
- name: Test
run: bundle exec rake spec

0 comments on commit c62197c

Please sign in to comment.