24 lines
426 B
YAML
24 lines
426 B
YAML
|
name: Ruby Rspec
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ master ]
|
||
|
pull_request:
|
||
|
branches: [ master ]
|
||
|
|
||
|
jobs:
|
||
|
run-tests:
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Set up Ruby 3.1
|
||
|
uses: actions/setup-ruby@v1
|
||
|
with:
|
||
|
ruby-version: 3.1.x
|
||
|
- name: Run rspec tests
|
||
|
run: |
|
||
|
gem install bundler
|
||
|
bundle install --jobs 4 --retry 3
|
||
|
bundle exec rspec
|