test.yml 367 B

123456789101112131415161718
  1. name: Ruby tests
  2. on:
  3. pull_request:
  4. branches:
  5. - main
  6. jobs:
  7. test:
  8. runs-on: ubuntu-20.04
  9. steps:
  10. - uses: actions/checkout@v2.4.0
  11. - name: Set up Ruby
  12. uses: ruby/setup-ruby@v1.91.0
  13. with:
  14. bundler-cache: true # runs 'bundle install' and caches installed gems automatically
  15. - name: Run tests
  16. run: bundle exec rake