name: CI on: pull_request: push: branches: - master jobs: test: name: Tests with Ruby ${{ matrix.ruby }} Rails ${{ matrix.rails }} Active Admin ${{ matrix.activeadmin }} runs-on: ubuntu-latest strategy: matrix: ruby: - 2.5 - 2.6 rails: - '5.2.0' - '6.0.0' activeadmin: - '2.0.0' - '2.6.0' exclude: - rails: '5.2.0' activeadmin: '2.6.0' - rails: '6.0.0' activeadmin: '2.0.0' env: RAILS: ${{ matrix.rails }} AA: ${{ matrix.activeadmin }} steps: - uses: actions/checkout@v2 - uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Run tests run: | gem install bundler -v '< 2' bundle install bundle exec rspec spec