diff --git a/.github/workflows/workflows-github-tests.yml b/.github/workflows/workflows-github-tests.yml index b6042b13..a37e9c20 100644 --- a/.github/workflows/workflows-github-tests.yml +++ b/.github/workflows/workflows-github-tests.yml @@ -37,4 +37,4 @@ jobs: working-directory: workflows run: | make local-init - make local-tests + make local-db-tests diff --git a/workflows/Makefile b/workflows/Makefile index 4f137ef3..e9b7fc92 100644 --- a/workflows/Makefile +++ b/workflows/Makefile @@ -53,6 +53,11 @@ local-start: local-envfile ## Start a local dev environment that's been stopped. local-pgconsole: ## Connect to the local postgres database. $(docker_compose) exec postgres psql "$(LOCAL_DB_CONN_STRING)" + +.PHONY: local-db-tests +local-db-tests: ## Run workflow db tests + $(docker_compose_run) $(FOLDER) bash -c "poetry run pytest test/" + ### SWIPE Plugin Tests .PHONY: local-swipe-plugin-tests