diff --git a/.github/workflows/test_kube.yml b/.github/workflows/test_kube.yml index 16f35db5b..bb5d76552 100644 --- a/.github/workflows/test_kube.yml +++ b/.github/workflows/test_kube.yml @@ -12,4 +12,9 @@ jobs: - name: Run setup run: | sh ./scripts/test/kubernetes-test.sh - sh ./scripts/test/integration-kube.sh + - name: Setup Airflow + run: | + python -m pip install uv + uv pip install --system hatch + hatch -e tests.py3.9-2.9 run pip freeze + hatch run tests.py3.9-2.9:test-kubernetes diff --git a/pyproject.toml b/pyproject.toml index 9654b3764..4916653c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -157,6 +157,7 @@ freeze = "pip freeze" test = 'sh scripts/test/unit.sh' test-cov = 'sh scripts/test/unit-cov.sh' test-integration = 'sh scripts/test/integration.sh' +test-kubernetes = "sh script/test/integration-kube.sh" test-integration-dbt-1-5-4 = 'sh scripts/test/integration-dbt-1-5-4.sh' test-integration-expensive = 'sh scripts/test/integration-expensive.sh' test-integration-setup = 'sh scripts/test/integration-setup.sh' diff --git a/scripts/test/integration-kube.sh b/scripts/test/integration-kube.sh index aa9c1057e..8470dd980 100644 --- a/scripts/test/integration-kube.sh +++ b/scripts/test/integration-kube.sh @@ -3,4 +3,5 @@ set -x set -e + pytest tests/test_example_dags.py::test_example_dag_k8s \ No newline at end of file