Skip to content

Bump pip from 23.2 to 23.3 in /image/grai-actions #83

Bump pip from 23.2 to 23.3 in /image/grai-actions

Bump pip from 23.2 to 23.3 in /image/grai-actions #83

Workflow file for this run

on: push
name: Local Tests
env:
grai-api-url: 'http://localhost:8000'
action: 'dev_tests'
github-token: 'test'
grai-user: 'null@grai.io'
grai-password: 'super_secret'
source-name: test
namespace: default
jobs:
test_postgres_local:
if: ${{ github.event.act }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Postgres Evaluation
uses: ./postgres
with:
action: '${{ env.action }}'
github-token: '${{ env.github-token }}'
grai-user: '${{ env.grai-user }}'
grai-password: '${{ env.grai-password }}'
namespace: '${{ env.namespace }}'
source-name: ${{ env.source-name }}
db-host: "0.0.0.0"
db-port: "5433"
db-database-name: db
db-user: "grai"
db-password: "grai"
test_mysql_local:
if: ${{ github.event.act }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: MySQL Evaluation
uses: ./mysql
with:
action: '${{ env.action }}'
github-token: '${{ env.github-token }}'
grai-user: '${{ env.grai-user }}'
grai-password: '${{ env.grai-password }}'
namespace: '${{ env.namespace }}'
source-name: ${{ env.source-name }}
db-host: "localhost"
db-port: "3306"
db-database-name: dbo
db-user: "grai"
db-password: "grai"
test_mssql_local:
if: ${{ github.event.act }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: SQL Server Evaluation
uses: ./mssql
with:
grai-api-url: ${{ env.grai-api-url }}
action: ${{ env.action }}
github-token: ${{ env.github-token }}
grai-user: ${{ env.grai-user }}
grai-password: ${{ env.grai-password }}
namespace: ${{ env.namespace }}
source-name: ${{ env.source-name }}
db-host: "localhost"
db-port: "1433"
db-user: "sa"
db-password: "GraiGraiGr4i"
encrypt: "false"
test_dbt_local:
if: ${{ github.event.act }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: dbt Evaluation
uses: ./dbt
with:
grai-api-url: ${{ env.grai-api-url }}
action: ${{ env.action }}
github-token: ${{ env.github-token }}
grai-user: ${{ env.grai-user }}
grai-password: ${{ env.grai-password }}
namespace: ${{ env.namespace }}
source-name: ${{ env.source-name }}
manifest-file: "./tests/dbt/manifest.json"
test_flat_file_local:
if: ${{ github.event.act }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Flat File Evaluation
uses: ./flat-file
with:
grai-api-url: ${{ env.grai-api-url }}
action: ${{ env.action }}
github-token: ${{ env.github-token }}
grai-user: ${{ env.grai-user }}
grai-password: ${{ env.grai-password }}
namespace: ${{ env.namespace }}
source-name: ${{ env.source-name }}
file: "./tests/flat-file/low_numbers.csv"
test_redshift_local:
if: ${{ github.event.act }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Redshift Evaluation
uses: ./redshift
with:
grai-api-url: ${{ env.grai-api-url }}
action: ${{ env.action }}
github-token: ${{ env.github-token }}
grai-user: ${{ env.grai-user }}
grai-password: ${{ env.grai-password }}
namespace: ${{ env.namespace }}
source-name: ${{ env.source-name }}
db-host: ${{ env.db_host}}
db-database-name: ${{ env.db_database_name}}
db-user: ${{ env.db_user}}
db-password: ${{ env.db_password}}
test_fivetran_local:
if: ${{ github.event.act }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Fivetran Evaluation
uses: ./fivetran
with:
grai-api-url: ${{ env.grai-api-url }}
action: ${{ env.action }}
github-token: ${{ env.github-token }}
grai-user: ${{ env.grai-user }}
grai-password: ${{ env.grai-password }}
namespace: ${{ env.namespace }}
source-name: ${{ env.source-name }}
fivetran-api-key: ${{ env.fivetran_api_key }}
fivetran-api-secret: ${{ env.fivetran_api_secret }}
namespace-map: '{"test": "a_default","test2":{"source": "b_default", "destination": "c_default"}}'
test_bigquery_local:
if: ${{ github.event.act }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: BigQuery Evaluation
uses: ./bigquery
with:
grai-api-url: ${{ env.grai-api-url }}
action: ${{ env.action }}
github-token: ${{ env.github-token }}
grai-user: ${{ env.grai-user }}
grai-password: ${{ env.grai-password }}
namespace: ${{ env.namespace }}
source-name: ${{ env.source-name }}
project: ${{ env.project }}
dataset: ${{ env.dataset }}
credentials: ${{ env.credentials }}
test_snowflake_local:
if: ${{ github.event.act }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Snowflake Evaluation
uses: ./snowflake
with:
grai-api-url: ${{ env.grai-api-url }}
action: ${{ env.action }}
github-token: ${{ env.github-token }}
grai-user: ${{ env.grai-user }}
grai-password: ${{ env.grai-password }}
namespace: ${{ env.namespace }}
source-name: ${{ env.source-name }}
db-host: ${{ env.db_host}}
db-database_name: ${{ env.db_database_name}}
db-user: ${{ env.db_user}}
db-password: ${{ env.db_password}}
account: ${{ env.account }}
role: ${{ env.role }}
database: ${{ env.database }}
schema: ${{ env.schema }}