Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 9 additions & 27 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ jobs:
python-version: "3.10"
architecture: "x64"

# Remove the `click` installation(which currently has an upper bound 8.3.0) once the
# issue https://github.com/pypa/hatch/issues/2050 is resolved.
- run: pip3 install hatch "click<8.3.0"
- run: pip3 install "hatch>=1.14.2"
- run: hatch run tests.py3.10-2.10-1.9:type-check

Run-Unit-Tests:
Expand Down Expand Up @@ -98,11 +96,9 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install packages and dependencies
# Remove the `click` installation(which currently has an upper bound 8.3.0) once the
# issue https://github.com/pypa/hatch/issues/2050 is resolved.
run: |
python -m pip install uv
uv pip install --system hatch "click<8.3.0"
uv pip install --system "hatch>=1.14.2"
hatch -e tests.py${{ matrix.python-version }}-${{ matrix.airflow-version }}-${{ matrix.dbt-version }} run pip freeze

- name: Test Cosmos against Airflow ${{ matrix.airflow-version }}, Python ${{ matrix.python-version }} and dbt ${{ matrix.dbt-version }}
Expand Down Expand Up @@ -174,11 +170,9 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install packages and dependencies
# Remove the `click` installation(which currently has an upper bound 8.3.0) once the
# issue https://github.com/pypa/hatch/issues/2050 is resolved.
run: |
python -m pip install uv
uv pip install --system hatch "click<8.3.0"
uv pip install --system "hatch>=1.14.2"
hatch -e tests.py${{ matrix.python-version }}-${{ matrix.airflow-version }}-${{ matrix.dbt-version }} run pip freeze

- name: Test Cosmos against Airflow ${{ matrix.airflow-version }}, Python ${{ matrix.python-version }} and dbt ${{ matrix.dbt-version }}
Expand Down Expand Up @@ -259,11 +253,9 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install packages and dependencies
# Remove the `click` installation(which currently has an upper bound 8.3.0) once the
# issue https://github.com/pypa/hatch/issues/2050 is resolved.
run: |
python -m pip install uv
uv pip install --system hatch "click<8.3.0"
uv pip install --system "hatch>=1.14.2"
hatch -e tests.py${{ matrix.python-version }}-${{ matrix.airflow-version }}-${{ matrix.dbt-version }} run pip freeze

- name: Test Cosmos against Airflow ${{ matrix.airflow-version }}, Python ${{ matrix.python-version }} and dbt ${{ matrix.dbt-version }}
Expand Down Expand Up @@ -347,11 +339,9 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install packages and dependencies
# Remove the `click` installation(which currently has an upper bound 8.3.0) once the
# issue https://github.com/pypa/hatch/issues/2050 is resolved.
run: |
python -m pip install uv
uv pip install --system hatch "click<8.3.0"
uv pip install --system "hatch>=1.14.2"
hatch -e tests.py${{ matrix.python-version }}-${{ matrix.airflow-version }}-${{ matrix.dbt-version }} run pip freeze

- name: Test Cosmos against Airflow ${{ matrix.airflow-version }}, Python ${{ matrix.python-version }} and dbt 1.5.4
Expand Down Expand Up @@ -425,11 +415,9 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install packages and dependencies
# Remove the `click` installation(which currently has an upper bound 8.3.0) once the
# issue https://github.com/pypa/hatch/issues/2050 is resolved.
run: |
python -m pip install uv
uv pip install --system hatch "click<8.3.0"
uv pip install --system "hatch>=1.14.2"
hatch -e tests.py${{ matrix.python-version }}-${{ matrix.airflow-version }}-${{ matrix.dbt-version }} run pip freeze

- name: Test Cosmos against Airflow ${{ matrix.airflow-version }}, Python ${{ matrix.python-version }} and dbt ${{ matrix.dbt-version }}
Expand Down Expand Up @@ -497,11 +485,9 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install packages and dependencies
# Remove the `click` installation(which currently has an upper bound 8.3.0) once the
# issue https://github.com/pypa/hatch/issues/2050 is resolved.
run: |
python -m pip install uv
uv pip install --system hatch "click<8.3.0"
uv pip install --system "hatch>=1.14.2"
hatch -e tests.py${{ matrix.python-version }}-${{ matrix.airflow-version }}-${{ matrix.dbt-version }} run pip freeze

- name: Set RESOURCE_PREFIX without periods
Expand Down Expand Up @@ -596,11 +582,9 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install packages and dependencies
# Remove the `click` installation(which currently has an upper bound 8.3.0) once the
# issue https://github.com/pypa/hatch/issues/2050 is resolved.
run: |
python -m pip install uv
uv pip install --system hatch "click<8.3.0"
uv pip install --system "hatch>=1.14.2"
hatch -e tests.py${{ matrix.python-version }}-${{ matrix.airflow-version }}-${{ matrix.dbt-version }} run pip freeze

- name: Run performance tests against against Airflow ${{ matrix.airflow-version }}, Python ${{ matrix.python-version }} and dbt ${{ matrix.dbt-version }}
Expand Down Expand Up @@ -663,11 +647,9 @@ jobs:
uses: container-tools/kind-action@0ad70e2299366b0e1552c7240f4e4567148f723e # v2.0.4

- name: Install packages and dependencies
# Remove the `click` installation(which currently has an upper bound 8.3.0) once the
# issue https://github.com/pypa/hatch/issues/2050 is resolved.
run: |
python -m pip install uv
uv pip install --system hatch "click<8.3.0"
uv pip install --system "hatch>=1.14.2"
hatch -e tests.py${{ matrix.python-version }}-${{ matrix.airflow-version }}-${{ matrix.dbt-version }} run pip freeze

- name: Run kubernetes tests
Expand Down