Skip to content

Commit 3c3a84f

Browse files
authored
Merge pull request #73 from Shopify/use-github-actions
Use GitHub Actions rather than Travis CI
2 parents 53c4e54 + 2738d91 commit 3c3a84f

File tree

2 files changed

+27
-12
lines changed

2 files changed

+27
-12
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
name: Ruby ${{ matrix.ruby }}
9+
strategy:
10+
matrix:
11+
ruby: ["2.5", "2.6", "2.7"]
12+
steps:
13+
14+
- name: Check out code
15+
uses: actions/checkout@v3
16+
17+
- name: Set up Ruby ${{ matrix.ruby }}
18+
uses: ruby/setup-ruby@v1
19+
with:
20+
ruby-version: ${{ matrix.ruby }}
21+
bundler-cache: true
22+
23+
- name: RuboCop
24+
run: bundle exec rubocop || true # until we fix offenses due to outdated config
25+
26+
- name: Tests
27+
run: bundle exec rspec

.travis.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)