mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Added --disable-pip-version-check. Closes #50.
This commit is contained in:
6
.github/workflows/CoverageCollection.yml
vendored
6
.github/workflows/CoverageCollection.yml
vendored
@@ -76,14 +76,14 @@ jobs:
|
|||||||
|
|
||||||
- name: 🗂 Install dependencies
|
- name: 🗂 Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install -U pip
|
python -m pip install --disable-pip-version-check tomli
|
||||||
python -m pip install tomli
|
python -m pip install --disable-pip-version-check ${{ inputs.requirements }}
|
||||||
python -m pip install ${{ inputs.requirements }}
|
|
||||||
|
|
||||||
- name: 🔁 Extract configurations from pyproject.toml
|
- name: 🔁 Extract configurations from pyproject.toml
|
||||||
id: getVariables
|
id: getVariables
|
||||||
shell: python
|
shell: python
|
||||||
run: |
|
run: |
|
||||||
|
from os import getenv
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from tomli import load as tomli_load
|
from tomli import load as tomli_load
|
||||||
|
|
||||||
|
|||||||
9
.github/workflows/Package.yml
vendored
9
.github/workflows/Package.yml
vendored
@@ -55,14 +55,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: ${{ inputs.python_version }}
|
python-version: ${{ inputs.python_version }}
|
||||||
|
|
||||||
- name: 🐍 Update pip
|
|
||||||
run: python -m pip install -U pip
|
|
||||||
|
|
||||||
# build
|
# build
|
||||||
|
|
||||||
- name: 🔧 [build] Install dependencies for packaging and release
|
- name: 🔧 [build] Install dependencies for packaging and release
|
||||||
if: inputs.requirements == ''
|
if: inputs.requirements == ''
|
||||||
run: python -m pip install build
|
run: python -m pip install --disable-pip-version-check build
|
||||||
|
|
||||||
- name: 🔨 [build] Build Python package (source distribution)
|
- name: 🔨 [build] Build Python package (source distribution)
|
||||||
if: inputs.requirements == ''
|
if: inputs.requirements == ''
|
||||||
@@ -76,7 +73,7 @@ jobs:
|
|||||||
|
|
||||||
- name: 🔧 [build] Install dependencies for packaging and release
|
- name: 🔧 [build] Install dependencies for packaging and release
|
||||||
if: inputs.requirements == 'no-isolation'
|
if: inputs.requirements == 'no-isolation'
|
||||||
run: python -m pip install build
|
run: python -m pip install --disable-pip-version-check build
|
||||||
|
|
||||||
- name: 🔨 [build] Build Python package (source distribution)
|
- name: 🔨 [build] Build Python package (source distribution)
|
||||||
if: inputs.requirements == 'no-isolation'
|
if: inputs.requirements == 'no-isolation'
|
||||||
@@ -90,7 +87,7 @@ jobs:
|
|||||||
|
|
||||||
- name: 🔧 [setuptools] Install dependencies for packaging and release
|
- name: 🔧 [setuptools] Install dependencies for packaging and release
|
||||||
if: inputs.requirements != '' && inputs.requirements != 'no-isolation'
|
if: inputs.requirements != '' && inputs.requirements != 'no-isolation'
|
||||||
run: python -m pip install ${{ inputs.requirements }}
|
run: python -m pip install --disable-pip-version-check ${{ inputs.requirements }}
|
||||||
|
|
||||||
- name: 🔨 [setuptools] Build Python package (source distribution)
|
- name: 🔨 [setuptools] Build Python package (source distribution)
|
||||||
if: inputs.requirements != '' && inputs.requirements != 'no-isolation'
|
if: inputs.requirements != '' && inputs.requirements != 'no-isolation'
|
||||||
|
|||||||
4
.github/workflows/PublishOnPyPI.yml
vendored
4
.github/workflows/PublishOnPyPI.yml
vendored
@@ -63,9 +63,7 @@ jobs:
|
|||||||
python-version: ${{ inputs.python_version }}
|
python-version: ${{ inputs.python_version }}
|
||||||
|
|
||||||
- name: ⚙ Install dependencies for packaging and release
|
- name: ⚙ Install dependencies for packaging and release
|
||||||
run: |
|
run: python -m pip install --disable-pip-version-check ${{ inputs.requirements }}
|
||||||
python -m pip install -U pip
|
|
||||||
python -m pip install ${{ inputs.requirements }}
|
|
||||||
|
|
||||||
- name: ⤴ Release Python source package to PyPI
|
- name: ⤴ Release Python source package to PyPI
|
||||||
env:
|
env:
|
||||||
|
|||||||
4
.github/workflows/StaticTypeCheck.yml
vendored
4
.github/workflows/StaticTypeCheck.yml
vendored
@@ -65,9 +65,7 @@ jobs:
|
|||||||
python-version: ${{ inputs.python_version }}
|
python-version: ${{ inputs.python_version }}
|
||||||
|
|
||||||
- name: 🗂 Install dependencies
|
- name: 🗂 Install dependencies
|
||||||
run: |
|
run: python -m pip install --disable-pip-version-check ${{ inputs.requirements }}
|
||||||
python -m pip install -U pip
|
|
||||||
python -m pip install ${{ inputs.requirements }}
|
|
||||||
|
|
||||||
- name: Check Static Typing
|
- name: Check Static Typing
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|||||||
11
.github/workflows/UnitTesting.yml
vendored
11
.github/workflows/UnitTesting.yml
vendored
@@ -97,22 +97,19 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
|
|
||||||
- name: ⚙️ Update pip
|
|
||||||
run: python -m pip install -U pip
|
|
||||||
|
|
||||||
- name: 🔧 Install wheel and pip dependencies
|
- name: 🔧 Install wheel and pip dependencies
|
||||||
if: matrix.system != 'msys2'
|
if: matrix.system != 'msys2'
|
||||||
run: |
|
run: |
|
||||||
python -m pip install -U wheel
|
python -m pip install --disable-pip-version-check -U wheel
|
||||||
python -m pip install ${{ inputs.requirements }}
|
python -m pip install --disable-pip-version-check ${{ inputs.requirements }}
|
||||||
|
|
||||||
- name: 🔧 Install pip dependencies
|
- name: 🔧 Install pip dependencies
|
||||||
if: matrix.system == 'msys2'
|
if: matrix.system == 'msys2'
|
||||||
run: |
|
run: |
|
||||||
if [ 'x${{ inputs.mingw_requirements }}' != 'x' ]; then
|
if [ 'x${{ inputs.mingw_requirements }}' != 'x' ]; then
|
||||||
python -m pip install ${{ inputs.mingw_requirements }}
|
python -m pip install --disable-pip-version-check ${{ inputs.mingw_requirements }}
|
||||||
else
|
else
|
||||||
python -m pip install ${{ inputs.requirements }}
|
python -m pip install --disable-pip-version-check ${{ inputs.requirements }}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: ☑ Run unit tests
|
- name: ☑ Run unit tests
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
|
|
||||||
- shell: bash
|
- shell: bash
|
||||||
run: pip install PyGithub --progress-bar off
|
run: pip install --disable-pip-version-check PyGithub --progress-bar off
|
||||||
|
|
||||||
- shell: bash
|
- shell: bash
|
||||||
run: '''${{ github.action_path }}/../releaser.py'''
|
run: '''${{ github.action_path }}/../releaser.py'''
|
||||||
|
|||||||
Reference in New Issue
Block a user