Skip to content

feat(gcp_bigquery_big_lake_table): Add support for AVRO, CSV, JSON, PARQUET with supporting optional parameters #334

feat(gcp_bigquery_big_lake_table): Add support for AVRO, CSV, JSON, PARQUET with supporting optional parameters

feat(gcp_bigquery_big_lake_table): Add support for AVRO, CSV, JSON, PARQUET with supporting optional parameters #334

Workflow file for this run

name: terratest
permissions:
contents: write
pull-requests: write
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
env:
TERRATEST_GOOGLE_CREDENTIALS: ${{ secrets.TERRATEST_GOOGLE_CREDENTIALS }}
GOOGLE_PROJECT: ${{ secrets.TERRATEST_GOOGLE_PROJECT }}
GCP_SA_EMAIL: ${{ secrets.TERRATEST_GCP_SA_EMAIL }}
TF_VAR_google_project: ${{ secrets.TERRATEST_GOOGLE_PROJECT }}
TF_VAR_google_credentials: ${{ secrets.TERRATEST_GOOGLE_CREDENTIALS }}
TF_VAR_shared_vpc_host_google_credentials: ${{ secrets.TERRATEST_GOOGLE_CREDENTIALS }}
jobs:
terratest:
name: terratest
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
submodules: true
- name: Set up Go (latest)
uses: actions/setup-go@v4
with:
go-version: '>=1.17.0'
id: go
- name: Login to Google Cloud
uses: google-github-actions/auth@v0
with:
credentials_json: ${{ env.TERRATEST_GOOGLE_CREDENTIALS }}
- name: Set Google Cloud project
run: gcloud config set project $GOOGLE_PROJECT
- name: Run terratest
run: |
make test_and_cover
- name: Release
uses: cycjimmy/semantic-release-action@v4
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
extra_plugins: |
@semantic-release/[email protected]
@semantic-release/[email protected]
@semantic-release/[email protected]