|
98 | 98 | download_name: macos |
99 | 99 | - image_name: windows-latest-64-cores |
100 | 100 | download_name: windows |
101 | | - python-version: ["3.8", "3.9", "3.10", "3.11"] |
| 101 | + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] |
102 | 102 | cloud-provider: [aws, azure, gcp] |
103 | 103 | steps: |
104 | 104 | - name: Checkout Code |
@@ -145,14 +145,25 @@ jobs: |
145 | 145 | # Specify SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1 when adding >= python3.12 with no server-side support |
146 | 146 | # For example, see https://github.com/snowflakedb/snowpark-python/pull/681 |
147 | 147 | shell: bash |
148 | | - - name: Run tests (excluding doctests) |
| 148 | + - if: ${{ matrix.python-version != '3.12' }} |
| 149 | + name: Run tests (excluding doctests) |
149 | 150 | run: python -m tox -e "py${PYTHON_VERSION/\./}-dailynotdoctest-ci" |
150 | 151 | env: |
151 | 152 | PYTHON_VERSION: ${{ matrix.python-version }} |
152 | 153 | cloud_provider: ${{ matrix.cloud-provider }} |
153 | 154 | PYTEST_ADDOPTS: --color=yes --tb=short |
154 | 155 | TOX_PARALLEL_NO_SPINNER: 1 |
155 | 156 | shell: bash |
| 157 | + - if: ${{ matrix.python-version == '3.12' }} |
| 158 | + name: Run tests (excluding doctests and udf tests) |
| 159 | + run: python -m tox -e "py${PYTHON_VERSION/\./}-dailynotdoctestnotudf-ci" |
| 160 | + env: |
| 161 | + PYTHON_VERSION: ${{ matrix.python-version }} |
| 162 | + cloud_provider: ${{ matrix.cloud-provider }} |
| 163 | + PYTEST_ADDOPTS: --color=yes --tb=short |
| 164 | + TOX_PARALLEL_NO_SPINNER: 1 |
| 165 | + SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1 |
| 166 | + shell: bash |
156 | 167 | - name: Combine coverages |
157 | 168 | run: python -m tox -e coverage --skip-missing-interpreters false |
158 | 169 | shell: bash |
@@ -217,7 +228,7 @@ jobs: |
217 | 228 | os: |
218 | 229 | - image_name: macos-latest |
219 | 230 | download_name: macos # it includes doctest |
220 | | - python-version: ["3.8", "3.9", "3.10", "3.11"] |
| 231 | + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] |
221 | 232 | cloud-provider: [aws] |
222 | 233 | steps: |
223 | 234 | - name: Checkout Code |
@@ -258,14 +269,25 @@ jobs: |
258 | 269 | PYTEST_ADDOPTS: --color=yes --tb=short --disable_sql_simplifier |
259 | 270 | TOX_PARALLEL_NO_SPINNER: 1 |
260 | 271 | shell: bash |
261 | | - - name: Run tests (excluding doctests) |
| 272 | + - if: ${{ matrix.python-version != '3.12' }} |
| 273 | + name: Run tests (excluding doctests) |
262 | 274 | run: python -m tox -e "py${PYTHON_VERSION/\./}-dailynotdoctest-ci" |
263 | 275 | env: |
264 | 276 | PYTHON_VERSION: ${{ matrix.python-version }} |
265 | 277 | cloud_provider: ${{ matrix.cloud-provider }} |
266 | 278 | PYTEST_ADDOPTS: --color=yes --tb=short --disable_sql_simplifier |
267 | 279 | TOX_PARALLEL_NO_SPINNER: 1 |
268 | 280 | shell: bash |
| 281 | + - if: ${{ matrix.python-version == '3.12' }} |
| 282 | + name: Run tests (excluding doctests and udf tests) |
| 283 | + run: python -m tox -e "py${PYTHON_VERSION/\./}-dailynotdoctestnotudf-ci" |
| 284 | + env: |
| 285 | + PYTHON_VERSION: ${{ matrix.python-version }} |
| 286 | + cloud_provider: ${{ matrix.cloud-provider }} |
| 287 | + PYTEST_ADDOPTS: --color=yes --tb=short --disable_sql_simplifier |
| 288 | + TOX_PARALLEL_NO_SPINNER: 1 |
| 289 | + SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1 |
| 290 | + shell: bash |
269 | 291 | - name: Combine coverages |
270 | 292 | run: python -m tox -e coverage --skip-missing-interpreters false |
271 | 293 | shell: bash |
@@ -354,7 +376,7 @@ jobs: |
354 | 376 | os: |
355 | 377 | - image_name: macos-latest |
356 | 378 | download_name: macos # it includes doctest |
357 | | - python-version: ["3.8", "3.9", "3.10", "3.11"] |
| 379 | + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] |
358 | 380 | cloud-provider: [aws] |
359 | 381 | steps: |
360 | 382 | - name: Checkout Code |
@@ -484,7 +506,7 @@ jobs: |
484 | 506 | os: |
485 | 507 | - image_name: macos-latest |
486 | 508 | download_name: macos # it includes doctest |
487 | | - python-version: ["3.8", "3.9", "3.10", "3.11"] |
| 509 | + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] |
488 | 510 | cloud-provider: [aws] |
489 | 511 | steps: |
490 | 512 | - name: Checkout Code |
@@ -525,14 +547,23 @@ jobs: |
525 | 547 | PYTEST_ADDOPTS: --color=yes --tb=short --disable_cte_optimization |
526 | 548 | TOX_PARALLEL_NO_SPINNER: 1 |
527 | 549 | shell: bash |
528 | | - - name: Run tests (excluding doctests) |
| 550 | + - if: ${{ matrix.python-version != '3.12' }} |
| 551 | + name: Run tests (excluding doctests) |
529 | 552 | run: python -m tox -e "py${PYTHON_VERSION/\./}-dailynotdoctest-ci" |
530 | 553 | env: |
531 | 554 | PYTHON_VERSION: ${{ matrix.python-version }} |
532 | 555 | cloud_provider: ${{ matrix.cloud-provider }} |
533 | 556 | PYTEST_ADDOPTS: --color=yes --tb=short --disable_cte_optimization |
534 | 557 | TOX_PARALLEL_NO_SPINNER: 1 |
535 | 558 | shell: bash |
| 559 | + - if: ${{ matrix.python-version == '3.12' }} |
| 560 | + name: Run tests (excluding doctests and udf tests) |
| 561 | + env: |
| 562 | + PYTHON_VERSION: ${{ matrix.python-version }} |
| 563 | + cloud_provider: ${{ matrix.cloud-provider }} |
| 564 | + PYTEST_ADDOPTS: --color=yes --tb=short --disable_cte_optimization |
| 565 | + TOX_PARALLEL_NO_SPINNER: 1 |
| 566 | + shell: bash |
536 | 567 | - name: Combine coverages |
537 | 568 | run: python -m tox -e coverage --skip-missing-interpreters false |
538 | 569 | shell: bash |
|
0 commit comments