Sha256: 7191b4135b951c062abe426ec629d68db27d7f05c8363616a8a6e4b1a19ccc6a
Contents?: true
Size: 1.47 KB
Versions: 10
Compression:
Stored size: 1.47 KB
Contents
name: Tests on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: name: Run tests runs-on: ubuntu-latest strategy: fail-fast: false matrix: include: - ruby-version: "2.4" activerecord-version: "5.2" - ruby-version: "2.5" activerecord-version: "6.0" - ruby-version: "2.7.5" activerecord-version: "6.1" - ruby-version: "3.0" activerecord-version: "7.0.0.alpha2" steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{matrix.ruby-version}} bundler-cache: false - name: Install Ruby packages run: BUNDLE_GEMFILE="${GITHUB_WORKSPACE}/gemfiles/activerecord_${{ matrix.activerecord-version }}.gemfile" bundle install - name: Install Ubuntu packages run: sudo apt-get update && sudo apt-get install numactl libaio-dev libmysqlclient-dev - name: Setup MySQL and ProxySQL (docker-compose) run: docker-compose up -d # Might have to change to docker compose up -d (i.e. Compose V2) when the Ubuntu image changes the docker-compose version - name: Wait until DBs are alive run: ./scripts/helpers/wait-for-dbs.sh timeout-minutes: 2 - name: Run tests run: BUNDLE_GEMFILE="${GITHUB_WORKSPACE}/gemfiles/activerecord_${{ matrix.activerecord-version }}.gemfile" bundle exec rake specs
Version data entries
10 entries across 10 versions & 2 rubygems