Skip to content

Feature/05 configure fileloader and cdc props #10

Feature/05 configure fileloader and cdc props

Feature/05 configure fileloader and cdc props #10

Workflow file for this run

name: Tabular CDC Bootstrapper PR Unit Testing
on:
pull_request:
branches:
- main
jobs:
build_and_test:
name: Build and test cdc bootstrapper locally (no sls deploy)
runs-on: ubuntu-latest
env:
S3_BUCKET_NAME: ${{ vars.S3_BUCKET_NAME }}
S3_BUCKET_PATH: ${{ vars.S3_BUCKET_PATH }}
TABULAR_CREDENTIAL: ${{ secrets.TABULAR_CREDENTIAL }}
TABULAR_TARGET_WAREHOUSE: ${{ vars.TABULAR_TARGET_WAREHOUSE }}
TABULAR_CATALOG_URI: ${{ vars.TABULAR_CATALOG_URI }}
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install pipenv
cd tabular-cdc-bootstrapper
pipenv install --dev
- name: Run tests
run: |
cd tabular-cdc-bootstrapper
pipenv run pytest