Skip to content

Feature/sp api aplus content master #359

Feature/sp api aplus content master

Feature/sp api aplus content master #359

Workflow file for this run

name: Ruby CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches:
- 'master'
pull_request:
branches:
- 'master'
jobs:
ci-build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: [2.7, 2.6, 2.5]
# Check-out repo
steps:
- name: Checkout
uses: actions/checkout@v2
- 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: bundle install
- name: Run RSpec
run: bundle exec rspec
- name: Run Rubocop
run: bundle exec rubocop