From c62197c6b9f78b2cfbbd52b410bcb11540081a14 Mon Sep 17 00:00:00 2001 From: Marat Radchenko Date: Tue, 28 Jan 2020 14:15:27 +0300 Subject: [PATCH] Add GitHub Actions script (PR #1496) --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..e5cc8afab --- /dev/null +++ b/.github/workflows/ci.yml @@ -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