Sha256: 6cd6b2c26a2d1e2039ff02d6080c17e63673307337232482a433165d15ae5e26
Contents?: true
Size: 1.4 KB
Versions: 1
Compression:
Stored size: 1.4 KB
Contents
on: push: branches: - main pull_request: name: acceptance tests on production jobs: check-env: outputs: has-key: ${{ steps.project-id.outputs.defined }} runs-on: ubuntu-latest steps: - id: project-id env: GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }} if: "${{ env.GCP_PROJECT_ID != '' }}" run: echo "::set-output name=defined::true" test: needs: [check-env] if: needs.check-env.outputs.has-key == 'true' runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: ruby: [3.0] 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: 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\[,,,"exclude cases/migration"\] env: SPANNER_TEST_PROJECT: ${{ secrets.GCP_PROJECT_ID }} SPANNER_TEST_INSTANCE: ruby-activerecord-test
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activerecord-spanner-adapter-1.0.1 | .github/workflows/acceptance-tests-on-production.yaml |