From e59d03f1de7331f36e46db7dcf8ae1a1ba11f261 Mon Sep 17 00:00:00 2001 From: Bobby McDonald Date: Sat, 16 Nov 2019 22:30:19 -0500 Subject: Initial attempt at adding github actions CI --- .github/workflows/test.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..1b06619 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +name: Test + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + ruby-version: [2.1.x, 2.2.x, 2.3.x, 2.4.x, 2.5.x, ruby-head] + steps: + - uses: actions/checkout@v1 + - name: Set up Ruby ${{ matrix.ruby }} + uses: actions/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + - name: Build and test with Rake + env: + CI: 'true' + run: | + gem install bundler + bundle install --jobs 4 --retry 3 + bundle exec rake -- cgit v1.2.1