Skip to content
This repository has been archived by the owner on Feb 21, 2025. It is now read-only.

DalgoT4D/dbt-automation

Repository files navigation

dbt-automation

License: AGPL v3 Code coverage badge

Documentation can be found here

NOTE the contents of this repository have been copied over to https://github.com/DalgoT4D/DDP_backend and the repository has been archived

Setting up the test environment

  • Create a pytest.ini file and the test warehouse credentials.
  • Create a dbconnection.env and add the test warehouse credentials. The test warehouse credentials will be used to seed data
  • Seed the sample data by running python seeds/seed.py --warehouse <postgres or bigquery>
  • Run pytest pytest tests/ -c pytest.ini -s in your local virtual environment