From 5e0ffe54e5849e0a0cea325f9604ea2ece56e9a6 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 11 Jun 2024 08:19:27 -0500 Subject: [PATCH] add supported adapter list --- tox.ini | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 4659e200..3b8ea630 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,8 @@ [tox] skipsdist = True -envlist = lint_all, textenv +envlist = lint_all, testenv +# this needs to be defined on a single line. tox has problems with multi line lists +supported_adapters = postgres, snowflake, bigquery, redshift [testenv] passenv = @@ -21,6 +23,10 @@ passenv = SNOWFLAKE_TEST_WAREHOUSE SNOWFLAKE_TEST_SCHEMA +# This is required to ensure that the correct adapters are tested +[testenv:list_adapters] +commands = echo {[tox]supported_adapters} + # Uses pytest to run tests, very basic and doesn't require dbt [testenv:dbt_integration_pytest] changedir = {toxinidir}