Skip to content

Commit

Permalink
Merge pull request #134 from Shopify/github-ci
Browse files Browse the repository at this point in the history
Switch CI to GitHub actions
  • Loading branch information
swalkinshaw authored Jan 12, 2021
2 parents 7c7e301 + 8cbc206 commit 480de9a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 12 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Tests

on:
push

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [2.3, 2.6, 2.7]
graphql_version: ['1.9.19', '1.10.2']
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
env:
GRAPHQL_VERSION: ${{ matrix.graphql_version }}
TESTING_LEGACY_DEFINITION_LAYER: ${{ startsWith(matrix.graphql_version, '1.9') }}
- run: bundle install
- run: bundle exec rake
4 changes: 3 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ inherit_from:
- .rubocop_todo.yml

AllCops:
TargetRubyVersion: 2.3
TargetRubyVersion: 2.7
Exclude:
- vendor/**/*
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

0 comments on commit 480de9a

Please sign in to comment.