Skip to content

Commit 5996e39

Browse files
committed
fix daily test
1 parent 0aeccd9 commit 5996e39

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

.github/workflows/daily_precommit.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ jobs:
198198
cloud_provider: ${{ matrix.cloud-provider }}
199199
PYTEST_ADDOPTS: --color=yes --tb=short
200200
TOX_PARALLEL_NO_SPINNER: 1
201+
SNOWPARK_PYTHON_API_TEST_BUCKET_PATH: ${{ secrets.SNOWPARK_PYTHON_API_TEST_BUCKET_PATH }}
202+
SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION: ${{ vars.SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION }}
201203
shell: bash
202204
- name: Install MS ODBC Driver (Ubuntu only)
203205
if: ${{ matrix.os.download_name == 'linux' }}
@@ -611,7 +613,8 @@ jobs:
611613
run: uv pip install -U setuptools pip wheel --system
612614
- name: Install tox
613615
run: uv pip install tox --system
614-
- if: ${{ contains('macos', matrix.os.download_name) }}
616+
# TODO: enable doctest for 3.14
617+
- if: ${{ contains('macos', matrix.os.download_name) && matrix.python-version != '3.14' }}
615618
name: Run doctests
616619
run: python -m tox -e "py${PYTHON_VERSION}-doctest-notudf-ci"
617620
env:
@@ -620,7 +623,9 @@ jobs:
620623
PYTEST_ADDOPTS: --color=yes --tb=short --disable_cte_optimization
621624
TOX_PARALLEL_NO_SPINNER: 1
622625
shell: bash
623-
- name: Run tests (excluding doctests)
626+
# TODO: enable for 3.14
627+
- if: ${{ matrix.python-version != '3.14' }}
628+
name: Run tests (excluding doctests)
624629
run: python -m tox -e "py${PYTHON_VERSION/\./}-dailynotdoctest-ci"
625630
env:
626631
PYTHON_VERSION: ${{ matrix.python-version }}
@@ -630,6 +635,18 @@ jobs:
630635
SNOWPARK_PYTHON_API_TEST_BUCKET_PATH: ${{ secrets.SNOWPARK_PYTHON_API_TEST_BUCKET_PATH }}
631636
SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION: ${{ vars.SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION }}
632637
shell: bash
638+
# TODO: remove the test below and run udf tests for 3.14
639+
- if: ${{ matrix.python-version == '3.14' }}
640+
name: Run tests (excluding udf, doctests)
641+
run: python -m tox -e "py${PYTHON_VERSION/\./}-dailynotdoctestnotudf-ci"
642+
env:
643+
PYTHON_VERSION: ${{ matrix.python-version }}
644+
cloud_provider: ${{ matrix.cloud-provider }}
645+
PYTEST_ADDOPTS: --color=yes --tb=short --disable_cte_optimization
646+
TOX_PARALLEL_NO_SPINNER: 1
647+
SNOWPARK_PYTHON_API_TEST_BUCKET_PATH: ${{ secrets.SNOWPARK_PYTHON_API_TEST_BUCKET_PATH }}
648+
SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION: ${{ vars.SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION }}
649+
shell: bash
633650
- name: Combine coverages
634651
run: python -m tox -e coverage --skip-missing-interpreters false
635652
shell: bash

0 commit comments

Comments
 (0)