diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 1160a5109..ba59c9401 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -139,4 +139,4 @@ jobs: uses: pypa/hatch@install - name: Run tests for ${{ matrix.test }} - run: hatch run python dagger/run_dbt_spark_tests.py --profile ${{ matrix.test }} + run: hatch run integration-tests --profile ${{ matrix.test }} diff --git a/hatch.toml b/hatch.toml index a255a6d0a..08cfc18b5 100644 --- a/hatch.toml +++ b/hatch.toml @@ -32,7 +32,7 @@ features=["all"] setup = "pre-commit install" code-quality = "pre-commit run --all-files" unit-tests = "python -m pytest {args:tests/unit}" -integration-tests = "python -m pytest {args:tests/functional}" +integration-tests = "python dagger/run_dbt_spark_tests.py {args:--profile apache_spark}" docker-prod = "docker build -f docker/Dockerfile -t dbt-spark ." [envs.build]