Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/python_integration_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ on:
description: API token of the Python testing user on Apify
required: true
inputs:
python-version:
python-versions:
description: List of Python versions to be used
default: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
required: false
required: true
type: string

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

steps:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/python_lint_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ name: Lint check
on:
workflow_call:
inputs:
python-version:
python-versions:
description: List of Python versions to be used
default: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
required: false
required: true
type: string

jobs:
Expand All @@ -15,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ${{ fromJSON(inputs.python-version)}}
python-version: ${{ fromJSON(inputs.python-versions)}}

steps:
- name: Checkout repository
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/python_type_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ name: Type check
on:
workflow_call:
inputs:
python-version:
python-versions:
description: List of Python versions to be used
default: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
required: false
required: true
type: string

jobs:
Expand All @@ -15,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ${{ fromJSON(inputs.python-version)}}
python-version: ${{ fromJSON(inputs.python-versions)}}

steps:
- name: Checkout repository
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/python_unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ on:
required: false
description: Used to set the HTTPBIN_URL environment variable
inputs:
python-version:
python-versions:
description: List of Python versions to be used
default: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
required: false
required: true
type: string

jobs:
Expand All @@ -20,7 +19,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-latest"]
python-version: ${{ fromJSON(inputs.python-version)}}
python-version: ${{ fromJSON(inputs.python-versions)}}
runs-on: ${{ matrix.os }}
env:
HTTPBIN_URL: ${{ secrets.httpbin_url || 'https://httpbin.org' }}
Expand Down