Sha256: 06091461f1d9ddfb3e1a065d2978134d02198be1207cb6f05c8a2a1e4e4abb07

Contents?: true

Size: 1.01 KB

Versions: 9

Compression:

Stored size: 1.01 KB

Contents

on:
  schedule:
    # 02:00 UTC
    - cron:  '0 2 * * *'
name: nightly acceptance tests on production
jobs:
  test:
    runs-on: ubuntu-latest

    strategy:
      max-parallel: 4
      matrix:
        ruby: [3.0]
    steps:
    - uses: actions/checkout@v3
    - 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: true
        ruby-version: ${{ matrix.ruby }}
    - name: Setup GCloud
      uses: google-github-actions/setup-gcloud@v0
      with:
        project_id: ${{ secrets.GCP_PROJECT_ID }}
        service_account_key: ${{ secrets.GCP_SA_KEY }}
        export_default_credentials: true
    - name: Install dependencies
      run: bundle install
    - name: Run acceptance tests on production
      run: bundle exec rake acceptance
      env:
        SPANNER_TEST_PROJECT: ${{ secrets.GCP_PROJECT_ID }}
        SPANNER_TEST_INSTANCE: ruby-activerecord-test

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
activerecord-spanner-adapter-1.4.3 .github/workflows/nightly-acceptance-tests-on-production.yaml
activerecord-spanner-adapter-1.4.2 .github/workflows/nightly-acceptance-tests-on-production.yaml
activerecord-spanner-adapter-1.4.1 .github/workflows/nightly-acceptance-tests-on-production.yaml
activerecord-spanner-adapter-1.4.0 .github/workflows/nightly-acceptance-tests-on-production.yaml
activerecord-spanner-adapter-1.3.1 .github/workflows/nightly-acceptance-tests-on-production.yaml
activerecord-spanner-adapter-1.2.2 .github/workflows/nightly-acceptance-tests-on-production.yaml
activerecord-spanner-adapter-1.2.1 .github/workflows/nightly-acceptance-tests-on-production.yaml
activerecord-spanner-adapter-1.2.0 .github/workflows/nightly-acceptance-tests-on-production.yaml
activerecord-spanner-adapter-1.1.0 .github/workflows/nightly-acceptance-tests-on-production.yaml