Skip to content

Merge pull request #156 from nikolalsvk/add-github-workflows #22

Merge pull request #156 from nikolalsvk/add-github-workflows

Merge pull request #156 from nikolalsvk/add-github-workflows #22

Workflow file for this run

name: Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
rspec:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["3.1"]
steps:
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Install dependencies
run: |
gem install bundler
bin/setup
- name: Run RSpec tests
run: bundle exec rspec