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: 27 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ jobs:
python-version: "3.10"
architecture: "x64"

- run: pip3 install "hatch>=1.14.2"
# Pinning virtualenv because of https://github.com/pypa/hatch/issues/2193
# This should be removed when the issue is fixed.
- run: pip3 install "hatch>=1.14.2" "virtualenv<21"
Comment thread
pankajkoti marked this conversation as resolved.
- run: hatch run tests.py3.10-2.10-1.9:type-check

Run-Unit-Tests:
Expand Down Expand Up @@ -139,10 +141,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

# Pinning virtualenv because of https://github.com/pypa/hatch/issues/2193
# This should be removed when the issue is fixed.
- name: Install packages and dependencies
run: |
python -m pip install uv
uv pip install --system "hatch>=1.14.2"
uv pip install --system "hatch>=1.14.2" "virtualenv<21"
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 @@ -208,10 +212,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

# Pinning virtualenv because of https://github.com/pypa/hatch/issues/2193
# This should be removed when the issue is fixed.
- name: Install packages and dependencies
run: |
python -m pip install uv
uv pip install --system "hatch>=1.14.2"
uv pip install --system "hatch>=1.14.2" "virtualenv<21"
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 @@ -296,10 +302,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

# Pinning virtualenv because of https://github.com/pypa/hatch/issues/2193
# This should be removed when the issue is fixed.
- name: Install packages and dependencies
run: |
python -m pip install uv
uv pip install --system "hatch>=1.14.2"
uv pip install --system "hatch>=1.14.2" "virtualenv<21"
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 @@ -383,10 +391,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

# Pinning virtualenv because of https://github.com/pypa/hatch/issues/2193
# This should be removed when the issue is fixed.
- name: Install packages and dependencies
run: |
python -m pip install uv
uv pip install --system "hatch>=1.14.2"
uv pip install --system "hatch>=1.14.2" "virtualenv<21"
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 @@ -460,10 +470,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

# Pinning virtualenv because of https://github.com/pypa/hatch/issues/2193
# This should be removed when the issue is fixed.
- name: Install packages and dependencies
run: |
python -m pip install uv
uv pip install --system "hatch>=1.14.2"
uv pip install --system "hatch>=1.14.2" "virtualenv<21"
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 @@ -531,10 +543,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

# Pinning virtualenv because of https://github.com/pypa/hatch/issues/2193
# This should be removed when the issue is fixed.
- name: Install packages and dependencies
run: |
python -m pip install uv
uv pip install --system "hatch>=1.14.2"
uv pip install --system "hatch>=1.14.2" "virtualenv<21"
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 @@ -631,10 +645,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

# Pinning virtualenv because of https://github.com/pypa/hatch/issues/2193
# This should be removed when the issue is fixed.
- name: Install packages and dependencies
run: |
python -m pip install uv
uv pip install --system "hatch>=1.14.2"
uv pip install --system "hatch>=1.14.2" "virtualenv<21"
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 @@ -697,10 +713,12 @@ jobs:
- name: Create KinD cluster
uses: container-tools/kind-action@0ad70e2299366b0e1552c7240f4e4567148f723e # v2.0.4

# Pinning virtualenv because of https://github.com/pypa/hatch/issues/2193
# This should be removed when the issue is fixed.
- name: Install packages and dependencies
run: |
python -m pip install uv
uv pip install --system "hatch>=1.14.2"
uv pip install --system "hatch>=1.14.2" "virtualenv<21"
hatch -e tests.py${{ matrix.python-version }}-${{ matrix.airflow-version }}-${{ matrix.dbt-version }} run pip freeze

- name: Run kubernetes tests
Expand Down
Loading