diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 5810781..160890d 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -41,10 +41,7 @@ jobs: run: python -m pip install --upgrade pip - name: Install Library - run: pip install . - - - name: Install Dependencies - run: pip install -r test-requirements.txt + run: pip install .[test] - name: Setup run: | @@ -78,10 +75,7 @@ jobs: run: python -m pip install --upgrade pip - name: Install Library - run: pip install . - - - name: Install Dependencies - run: pip install -r test-requirements.txt + run: pip install .[test,spark] - name: Setup run: | @@ -115,10 +109,7 @@ jobs: run: python -m pip install --upgrade pip - name: Install Library - run: pip install . - - - name: Install Dependencies - run: pip install -r test-requirements.txt + run: pip install .[test,spark] - name: Setup run: | diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 76cadf7..af95056 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,10 +20,7 @@ jobs: python-version: 3.12 - name: Install Library - run: pip install . - - - name: Install Dependencies - run: pip install -r test-requirements.txt + run: pip install .[dev] - name: Ruff Formatter run: ruff format --check . diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 92b002e..bfd890a 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -27,10 +27,7 @@ jobs: run: python -m pip install --upgrade pip - name: Install Library - run: pip install . - - - name: Install Dependencies - run: pip install -r test-requirements.txt + run: pip install .[test] - name: Run Unit Tests run: pytest -vvv -m unit tests/unit diff --git a/setup.cfg b/setup.cfg index cd29254..409716f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,9 +11,34 @@ install_requires = setuptools>=41.0.0 [options.extras_require] +athena = + great-expectations[athena]>=1.3.1 +azure = + great-expectations[azure]>=1.3.1 +bigquery = + great-expectations[bigquery]>=1.3.1 +dev = + mypy==1.14.1 + ruff==0.8.3 + tests +gcp = + great-expectations[gcp]>=1.3.1 +mssql = + great-expectations[mssql]>=1.3.1 +postgresql = + great-expectations[postgresql]>=1.3.1 +s3 = + great-expectations[s3]>=1.3.1 +snowflake = + great-expectations[snowflake]>=1.3.1 +spark = + great-expectations[spark, spark-connect]>=1.3.1 + pyarrow>=4.0.0 tests = - pytest + pytest==8.3.4 + pytest-mock==3.14.0 [options.entry_points] apache_airflow_provider= provider_info=great_expectations_provider.__init__:get_provider_info + diff --git a/test-requirements.txt b/test-requirements.txt deleted file mode 100644 index 38d2dfe..0000000 --- a/test-requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -pyarrow>=4.0.0 -pytest==8.3.4 -pytest-mock==3.14.0 -mypy==1.14.1 -ruff==0.8.3