name: Run tests on: [push] jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby: [ '2.5', '2.6', '2.7' ] name: Ruby ${{ matrix.ruby }} steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Install and start toxiproxy run: ./bin/start-toxiproxy.sh - name: Run tests run: bundle exec rake test