Sha256: b41c15e0f0e5a85c4e73aaabc52965e0b47063a6ca3683ab54368bedc7531dd9
Contents?: true
Size: 1.28 KB
Versions: 1
Compression:
Stored size: 1.28 KB
Contents
on: push: branches: - main pull_request: name: acceptance tests on emulator jobs: test: runs-on: ubuntu-latest services: emulator: image: gcr.io/cloud-spanner-emulator/emulator:latest ports: - 9010:9010 - 9020:9020 strategy: max-parallel: 4 matrix: ruby: [2.6, 2.7, 3.0] ar: [6.0.4, 6.1.4] # Exclude Ruby 3.0 and ActiveRecord 6.0.x as that combination is not supported. exclude: - ruby: 3.0 ar: 6.0.4 steps: - uses: actions/checkout@v2 - name: Set up Ruby # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby # (see https://github.com/ruby/setup-ruby#versioning): uses: ruby/setup-ruby@v1 with: bundler-cache: false ruby-version: ${{ matrix.ruby }} - name: Set ActiveRecord version run: sed -i "s/\"activerecord\", \"~> 6.1.4\"/\"activerecord\", \"${{ matrix.ar }}\"/" activerecord-spanner-adapter.gemspec - name: Install dependencies run: bundle install - name: Run acceptance tests on emulator run: bundle exec rake acceptance env: SPANNER_EMULATOR_HOST: localhost:9010 SPANNER_TEST_PROJECT: test-project SPANNER_TEST_INSTANCE: test-instance
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activerecord-spanner-adapter-1.0.1 | .github/workflows/acceptance-tests-on-emulator.yaml |