From 03eeb3d171509ce40f8cb65a98baa3f594d84dae Mon Sep 17 00:00:00 2001 From: Maria Lorena Rodriguez Viruel Date: Mon, 20 Nov 2023 15:48:49 -0300 Subject: [PATCH] Update readme to add step to check for test coverage --- README.md | 9 ++++++++- tests/check_tests_coverage.sh | 2 -- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b40690d7..16cc2477 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,14 @@ Run `docker-compose up` in the `cht-sync` directory to run the pipeline. Please ./run_dbt_tests.sh ``` -4. Clean up: +4. Check for test coverage: + +```sh +# Run dbt run-operation required_tests command +./check_tests_coverage.sh +``` + +5. Clean up: ```sh ./tear_down.sh ``` diff --git a/tests/check_tests_coverage.sh b/tests/check_tests_coverage.sh index 10d32137..80b8e58e 100755 --- a/tests/check_tests_coverage.sh +++ b/tests/check_tests_coverage.sh @@ -9,8 +9,6 @@ export DBT_POSTGRES_HOST=postgres export ROOT_POSTGRES_SCHEMA=v1 export DBT_PROFILES_DIR=$PWD -echo Install dbt dependencies ... -dbt deps echo Check test coverage ... dbt run-operation required_tests