Skip to content

Commit 44cf53e

Browse files
SNOW-UD: Add doctest step, default Python to 3.13
- Add 'Run doctest' step using py${PYTHON_VERSION}-doctest-notudf-ci, matching the pattern from daily_precommit.yml. - Change default python-version input from 3.10 to 3.13 (latest Snowflake-supported Python). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 20feb94 commit 44cf53e

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/ud-inline-tests.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
python-version:
1414
description: 'Python version'
1515
required: false
16-
default: '3.10'
16+
default: '3.13'
1717
type: choice
1818
options:
1919
- '3.10'
@@ -34,13 +34,13 @@ permissions:
3434
contents: read
3535

3636
env:
37-
PYTHON_VERSION: ${{ inputs.python-version || '3.10' }}
37+
PYTHON_VERSION: ${{ inputs.python-version || '3.13' }}
3838
CLOUD_PROVIDER: ${{ inputs.cloud-provider || 'aws' }}
3939
UD_BRANCH: ${{ inputs.ud-branch || 'snowpark-compatibility' }}
4040

4141
jobs:
4242
test:
43-
name: UD Test py${{ inputs.python-version || '3.10' }}-${{ inputs.cloud-provider || 'aws' }} (${{ inputs.ud-branch || 'snowpark-compatibility' }})
43+
name: UD Test py${{ inputs.python-version || '3.13' }}-${{ inputs.cloud-provider || 'aws' }} (${{ inputs.ud-branch || 'snowpark-compatibility' }})
4444
runs-on: ubuntu-latest-64-cores
4545

4646
steps:
@@ -91,6 +91,15 @@ jobs:
9191
PYTEST_ADDOPTS: --color=yes --tb=short
9292
TOX_PARALLEL_NO_SPINNER: 1
9393

94+
- name: Run doctest
95+
run: python -m tox -e "py${PYTHON_VERSION}-doctest-notudf-ci"
96+
env:
97+
cloud_provider: ${{ env.CLOUD_PROVIDER }}
98+
ud_connector_path: "git+https://github.com/snowflakedb/universal-driver@${{ env.UD_BRANCH }}#subdirectory=python"
99+
GH_TOKEN: ${{ secrets.SNOWFLAKE_GITHUB_TOKEN }}
100+
PYTEST_ADDOPTS: --color=yes --tb=short
101+
TOX_PARALLEL_NO_SPINNER: 1
102+
94103
- name: Run datasource tests
95104
run: python -m tox -e datasource
96105
env:

0 commit comments

Comments
 (0)