-
Notifications
You must be signed in to change notification settings - Fork 96
34 lines (33 loc) · 878 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
on: [push, pull_request]
name: Test
jobs:
test:
strategy:
fail-fast: false
matrix:
rvm:
- 2.7
- 2.6
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: ruby/setup-ruby@v1
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/Gemfile
with:
ruby-version: ${{ matrix.rvm }}
bundler-cache: true
# Run bundle install outside the workspace to keep gems out of the
# repo checkout.
working-directory: ${{ runner.temp }}
- run: |
bundle exec rake
# TODO: migrate Travis settings below:
# notifications:
# email:
# recipients:
# - google-fluentd-notifications+travis@google.com
# on_success: change
# on_failure: change