Skip to content

Commit 17c846b

Browse files
Switch to GitHub Actions. (GoogleCloudPlatform#90)
Also test on newer Ruby versions.
1 parent 20aba61 commit 17c846b

File tree

2 files changed

+35
-16
lines changed

2 files changed

+35
-16
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
on: [push, pull_request]
2+
name: Test
3+
jobs:
4+
test:
5+
strategy:
6+
fail-fast: false
7+
matrix:
8+
rvm:
9+
- 2.6
10+
- 2.5
11+
- 2.4
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
with:
16+
submodules: true
17+
- uses: ruby/setup-ruby@v1
18+
env:
19+
BUNDLE_GEMFILE: ${{ github.workspace }}/Gemfile
20+
with:
21+
ruby-version: ${{ matrix.rvm }}
22+
bundler-cache: true
23+
# Run bundle install outside the workspace to keep gems out of the
24+
# repo checkout.
25+
working-directory: ${{ runner.temp }}
26+
- run: |
27+
bundle exec rake
28+
# TODO: migrate Travis settings below:
29+
# notifications:
30+
# email:
31+
# recipients:
32+
33+
# on_success: change
34+
# on_failure: change
35+

.travis.yml

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

0 commit comments

Comments
 (0)