Sha256: 87e6f0d6df2d557652e764cde832cb31f8f4682575ef4ca288333f1a0174c039

Contents?: true

Size: 1.09 KB

Versions: 4

Compression:

Stored size: 1.09 KB

Contents

name: CI
on: [push, pull_request]
jobs:
  test:
    strategy:
      fail-fast: false
      matrix:
        gemfile: [ activerecord_6.0, activerecord_6.1, activerecord_7.0, activerecord_7.1 ]
        ruby: [ '3.0', 3.1, 3.2, 3.3 ]

    runs-on: ubuntu-20.04
    env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
      BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
      POSTGRES_HOST_AUTH_METHOD: trust

    steps:
      - name: Set up MySQL
        run: |
          sudo service mysql start
          sudo mysql -uroot -proot -e"ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY '';"
      - name: Set up PostgreSQL
        run: |
          sudo service postgresql start
          sudo -u postgres createuser --superuser runner
          createdb runner
      - uses: actions/checkout@v3
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true # runs 'bundle install' and caches installed gems automatically
          cache-version: 10
      - run: bundle exec rake

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
backhoe-0.9.0 .github/workflows/ci.yml
backhoe-0.8.3 .github/workflows/ci.yml
backhoe-0.8.2 .github/workflows/ci.yml
backhoe-0.8.0 .github/workflows/ci.yml