-
Notifications
You must be signed in to change notification settings - Fork 9
30 lines (26 loc) · 906 Bytes
/
test.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
name: Ruby Test
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.6
uses: ruby/setup-ruby@v1.126.0
with:
ruby-version: 2.6.5
bundler: 2.4.22
- name: Build and test with Rake
run: |
gem install bundler -v 2.4.22
bundle install --jobs 4 --retry 3
bundle exec rake
# - name: Upload code coverage reports to codecov
# uses: codecov/codecov-action@v1
# with:
# token: 58fd7bff-e88e-4f23-b940-811b12f20dcf # not required for public repos
# # file: ./coverage.xml # optional
# # files: ./coverage1.xml,./coverage2.xml # optional
# # flags: unittests # optional
# # name: codecov-umbrella # optional
# # fail_ci_if_error: true # optional (default = false)