Skip to content

running tests in CI #144

running tests in CI

running tests in CI #144

Workflow file for this run

name: Ruby
on: [push]
env:
SANDBOX_API_KEY: 'key'
SANDBOX_SECRET_KEY: 'secret'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Build and run Rubocop
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rubocop --parallel
- name: Build and run tests
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake tests