name: Run Tests on: push: branches: - master pull_request: jobs: rspec: runs-on: ubuntu-latest strategy: fail-fast: false matrix: ruby: ["2.5.x", "2.6.x"] steps: - uses: actions/checkout@v1 - name: Set up Ruby uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Install Bundler run: | gem install bundler - name: Install deps run: | sudo apt-get update sudo apt-get install -y --no-install-recommends libcurl4-openssl-dev - name: Install Ruby deps run: | bundle install --jobs 4 --retry 3 - name: Run RSpec run: | bundle exec rake spec