Skip to content

Commit 64bed19

Browse files
authored
Add ruby.yml file to run tests.
1 parent ff2359c commit 64bed19

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ruby.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7+
8+
name: Ruby
9+
10+
on:
11+
push:
12+
branches: [ master ]
13+
pull_request:
14+
branches: [ master ]
15+
16+
jobs:
17+
test:
18+
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Set up Ruby
24+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
25+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
26+
# uses: ruby/setup-ruby@v1
27+
uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
28+
with:
29+
ruby-version: 2.6
30+
- name: Install dependencies
31+
run: bundle install
32+
- name: Run tests
33+
run: bundle exec rake

0 commit comments

Comments
 (0)