Sha256: 458fe0a5e48c4382f94575adfe8473d774441e44b7d0a9cbcd83e990eca95638

Contents?: true

Size: 1.26 KB

Versions: 5

Compression:

Stored size: 1.26 KB

Contents

name: CI

on:
  push:
    branches: "*"
  pull_request:
    branches: "*"

jobs:
  test:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v3
      - name: Set up Ruby
        uses: ruby/setup-ruby@904f3fef85a9c80a3750cbe7d5159268fd5caa9f
        with:
          ruby-version: '3.0.6'
      - name: Install Golang
        uses: actions/setup-go@v3
        with:
          go-version: '1.20'
      - name: Install dependencies
        run: bundle install
      - name: Build gem
        run: rake build
      # Enable this section to allow debugging via SSH
      #- name: Setup upterm session
        #uses: lhotari/action-upterm@v1
        #with:
          ### limits ssh access and adds the ssh public key for the user which triggered the workflow
          #limit-access-to-actor: true
      - name: Install gem
        run: cd pkg && gem install --local *.gem --verbose
      - name: Run tests
        run: ruby -rruby_snowflake_client -S rspec spec/**/*_spec.rb -cfdoc
        env: # Or as an environment variable
          SNOWFLAKE_ACCOUNT: ${{ secrets.SNOWFLAKE_ACCOUNT }}
          SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }}
          SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}
          SNOWFLAKE_WAREHOUSE: ${{ secrets.SNOWFLAKE_WAREHOUSE }}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby_snowflake_client-1.1.1 .github/workflows/ci.yml
ruby_snowflake_client-1.1.0 .github/workflows/ci.yml
ruby_snowflake_client-1.0.2 .github/workflows/ci.yml
ruby_snowflake_client-1.0.1 .github/workflows/ci.yml
ruby_snowflake_client-1.0.0 .github/workflows/ci.yml