Skip to content

Commit a79d8fa

Browse files
committed
chore: rename python versions input arg
1 parent 4741a20 commit a79d8fa

File tree

4 files changed

+12
-16
lines changed

4 files changed

+12
-16
lines changed

.github/workflows/python_integration_tests.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ on:
77
description: API token of the Python testing user on Apify
88
required: true
99
inputs:
10-
python-version:
10+
python-versions:
1111
description: List of Python versions to be used
12-
default: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
13-
required: false
12+
required: true
1413
type: string
1514

1615
# Concurrency control to ensure only one instance of this workflow runs at a time.
@@ -27,7 +26,7 @@ jobs:
2726
if: github.event.pull_request.head.repo.owner.login == 'apify' || github.ref == 'refs/heads/master'
2827
strategy:
2928
matrix:
30-
python-version: ${{ fromJSON(inputs.python-version)}}
29+
python-version: ${{ fromJSON(inputs.python-versions)}}
3130
max-parallel: 1 # No parallel tests to avoid exceeding API limits.
3231

3332
steps:

.github/workflows/python_lint_check.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ name: Lint check
33
on:
44
workflow_call:
55
inputs:
6-
python-version:
6+
python-versions:
77
description: List of Python versions to be used
8-
default: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
9-
required: false
8+
required: true
109
type: string
1110

1211
jobs:
@@ -15,7 +14,7 @@ jobs:
1514
runs-on: ubuntu-latest
1615
strategy:
1716
matrix:
18-
python-version: ${{ fromJSON(inputs.python-version)}}
17+
python-version: ${{ fromJSON(inputs.python-versions)}}
1918

2019
steps:
2120
- name: Checkout repository

.github/workflows/python_type_check.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ name: Type check
33
on:
44
workflow_call:
55
inputs:
6-
python-version:
6+
python-versions:
77
description: List of Python versions to be used
8-
default: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
9-
required: false
8+
required: true
109
type: string
1110

1211
jobs:
@@ -15,7 +14,7 @@ jobs:
1514
runs-on: ubuntu-latest
1615
strategy:
1716
matrix:
18-
python-version: ${{ fromJSON(inputs.python-version)}}
17+
python-version: ${{ fromJSON(inputs.python-versions)}}
1918

2019
steps:
2120
- name: Checkout repository

.github/workflows/python_unit_tests.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ on:
77
required: false
88
description: Used to set the HTTPBIN_URL environment variable
99
inputs:
10-
python-version:
10+
python-versions:
1111
description: List of Python versions to be used
12-
default: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
13-
required: false
12+
required: true
1413
type: string
1514

1615
jobs:
@@ -20,7 +19,7 @@ jobs:
2019
fail-fast: false
2120
matrix:
2221
os: ["ubuntu-latest", "windows-latest"]
23-
python-version: ${{ fromJSON(inputs.python-version)}}
22+
python-version: ${{ fromJSON(inputs.python-versions)}}
2423
runs-on: ${{ matrix.os }}
2524
env:
2625
HTTPBIN_URL: ${{ secrets.httpbin_url || 'https://httpbin.org' }}

0 commit comments

Comments
 (0)