Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 963e366

Browse files
author
Phil Hansch
authored
Add CI workflow for running tests
1 parent adcdd18 commit 963e366

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/ruby.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Ruby
2+
3+
on:
4+
push:
5+
branches: [ "development" ]
6+
pull_request:
7+
branches: [ "development" ]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
test:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Set up Ruby
19+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
20+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
21+
# uses: ruby/setup-ruby@v1
22+
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
23+
with:
24+
ruby-version: ${{ matrix.ruby-version }}
25+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
26+
- name: Run tests
27+
run: bundle exec rake

0 commit comments

Comments
 (0)