rename 'pyver' to 'python_version'

This commit is contained in:
umarcor
2021-11-29 02:21:36 +01:00
parent 35738eef8f
commit 2a2aa3f0c8
7 changed files with 24 additions and 24 deletions

View File

@@ -3,7 +3,7 @@ name: Coverage Collection
on:
workflow_call:
inputs:
pyver:
python_version:
description: 'Python version.'
required: false
default: '3.10'
@@ -20,17 +20,17 @@ on:
jobs:
Coverage:
name: 📈 Collect Coverage Data using Python ${{ inputs.pyver }}
name: 📈 Collect Coverage Data using Python ${{ inputs.python_version }}
runs-on: ubuntu-latest
steps:
- name: ⏬ Checkout repository
uses: actions/checkout@v2
- name: 🐍 Setup Python ${{ inputs.pyver }}
- name: 🐍 Setup Python ${{ inputs.python_version }}
uses: actions/setup-python@v2
with:
python-version: ${{ inputs.pyver }}
python-version: ${{ inputs.python_version }}
- name: 🗂 Install dependencies
run: |

View File

@@ -3,7 +3,7 @@ name: Package
on:
workflow_call:
inputs:
pyver:
python_version:
description: 'Python version.'
required: false
default: '3.10'
@@ -23,10 +23,10 @@ jobs:
- name: 📥 Checkout repository
uses: actions/checkout@v2
- name: 🐍 Setup Python ${{ inputs.pyver }}
- name: 🐍 Setup Python ${{ inputs.python_version }}
uses: actions/setup-python@v2
with:
python-version: ${{ inputs.pyver }}
python-version: ${{ inputs.python_version }}
- name: 🔧 Install dependencies for packaging and release
run: |

View File

@@ -3,7 +3,7 @@ name: Params
on:
workflow_call:
inputs:
pyver:
python_version:
description: 'Python version.'
required: false
default: '3.10'
@@ -31,7 +31,7 @@ jobs:
name = '${{ inputs.name }}'
params = {
'package': name,
'pyver': '${{ inputs.pyver }}',
'python_version': '${{ inputs.python_version }}',
'artifacts': {
'coverage': f'{name}-coverage',
'typing': f'{name}-typing',

View File

@@ -3,7 +3,7 @@ name: Publish on PyPI
on:
workflow_call:
inputs:
pyver:
python_version:
description: 'Python version.'
required: false
default: '3.10'
@@ -30,10 +30,10 @@ jobs:
name: ${{ inputs.artifact }}
path: dist/
- name: 🐍 Setup Python ${{ inputs.pyver }}
- name: 🐍 Setup Python ${{ inputs.python_version }}
uses: actions/setup-python@v2
with:
python-version: ${{ inputs.pyver }}
python-version: ${{ inputs.python_version }}
- name: ⚙ Install dependencies for packaging and release
run: |

View File

@@ -7,7 +7,7 @@ on:
description: 'Name of the Python package.'
required: true
type: string
pyver:
python_version:
description: 'Python version.'
required: false
default: '3.10'
@@ -20,17 +20,17 @@ on:
jobs:
StaticTypeCheck:
name: 👀 Check Static Typing using Python ${{ inputs.pyver }}
name: 👀 Check Static Typing using Python ${{ inputs.python_version }}
runs-on: ubuntu-latest
steps:
- name: ⏬ Checkout repository
uses: actions/checkout@v2
- name: 🐍 Setup Python ${{ inputs.pyver }}
- name: 🐍 Setup Python ${{ inputs.python_version }}
uses: actions/setup-python@v2
with:
python-version: ${{ inputs.pyver }}
python-version: ${{ inputs.python_version }}
- name: 🗂 Install dependencies
run: |

View File

@@ -3,7 +3,7 @@ name: Verify examples
on:
workflow_call:
inputs:
pyver:
python_version:
description: 'Python version.'
required: false
default: '3.10'
@@ -12,7 +12,7 @@ on:
jobs:
VerifyDocs:
name: 👍 Verify example snippets using Python ${{ inputs.pyver }}
name: 👍 Verify example snippets using Python ${{ inputs.python_version }}
runs-on: ubuntu-latest
steps:
@@ -22,7 +22,7 @@ jobs:
- name: 🐍 Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ inputs.pyver }}
python-version: ${{ inputs.python_version }}
- name: 🐍 Install dependencies
run: |