fixup test #147
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |