Skip to content

Commit f2da14a

Browse files
authored
chore: add python version input to integration tests (#207)
1 parent 9ca52c0 commit f2da14a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/python_integration_tests.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66
APIFY_TEST_USER_PYTHON_SDK_API_TOKEN:
77
description: API token of the Python testing user on Apify
88
required: true
9+
inputs:
10+
python-version:
11+
description: List of Python versions to be used
12+
default: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
13+
required: false
14+
type: string
915

1016
# Concurrency control to ensure only one instance of this workflow runs at a time.
1117
# This avoids exceeding API usage limits on the test user account.
@@ -21,7 +27,7 @@ jobs:
2127
if: github.event.pull_request.head.repo.owner.login == 'apify' || github.ref == 'refs/heads/master'
2228
strategy:
2329
matrix:
24-
python-version: ["3.9", "3.13"] # The oldest and newest supported Python versions.
30+
python-version: ${{ fromJSON(inputs.python-version)}}
2531
max-parallel: 1 # No parallel tests to avoid exceeding API limits.
2632

2733
steps:

0 commit comments

Comments
 (0)