picandocodigo/ci_uy

View on GitHub
.github/workflows/ruby.yml

Summary

Maintainability
Test Coverage
name: Unit tests
on: [push, pull_request]
jobs:
  test:
    name: "Run tests"
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', 'head', 'jruby-9.2', 'jruby-9.3', 'jruby-9.4', 'jruby-head', 'truffleruby' ]
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
    - name: Build and test with Rake
      run: |
        ruby -v
        bundle install --jobs 4 --retry 3
        bundle exec rake