mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-19 06:26:55 +08:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e9d0dc3dba | ||
|
|
f9a74102d9 | ||
|
|
b33e0f2782 | ||
|
|
ae32d20719 | ||
|
|
c3c6a09a9b | ||
|
|
87fa2b693a | ||
|
|
be27e58d8c |
4
.github/workflows/ArtifactCleanUp.yml
vendored
4
.github/workflows/ArtifactCleanUp.yml
vendored
@@ -36,23 +36,19 @@ on:
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
|
||||
ArtifactCleanUp:
|
||||
name: 🗑️ Artifact Cleanup
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: 🗑️ Delete package Artifacts
|
||||
if: ${{ ! startsWith(github.ref, 'refs/tags') }}
|
||||
uses: geekyeggo/delete-artifact@v5
|
||||
with:
|
||||
name: ${{ inputs.package }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: 🗑️ Delete remaining Artifacts
|
||||
if: ${{ inputs.remaining != '' }}
|
||||
uses: geekyeggo/delete-artifact@v5
|
||||
with:
|
||||
name: ${{ inputs.remaining }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
2
.github/workflows/IntermediateCleanUp.yml
vendored
2
.github/workflows/IntermediateCleanUp.yml
vendored
@@ -44,7 +44,6 @@ jobs:
|
||||
continue-on-error: true
|
||||
with:
|
||||
name: ${{ inputs.sqlite_coverage_artifacts_prefix }}*
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: 🗑️ Delete XML coverage artifacts from matrix jobs
|
||||
uses: geekyeggo/delete-artifact@v5
|
||||
@@ -52,4 +51,3 @@ jobs:
|
||||
continue-on-error: true
|
||||
with:
|
||||
name: ${{ inputs.xml_unittest_artifacts_prefix }}*
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
14
.github/workflows/Parameters.yml
vendored
14
.github/workflows/Parameters.yml
vendored
@@ -158,9 +158,9 @@ jobs:
|
||||
},
|
||||
# Runner systems (runner images) supported by GitHub Actions
|
||||
"sys": {
|
||||
"ubuntu": { "icon": "🐧", "runs-on": "ubuntu-latest", "shell": "bash", "name": "Linux (x86-64)", "minPy": [3, 7]},
|
||||
"windows": { "icon": "🪟", "runs-on": "windows-latest", "shell": "pwsh", "name": "Windows (x86-64)", "minPy": [3, 7]},
|
||||
"macos": { "icon": "🍎", "runs-on": "macos-latest", "shell": "bash", "name": "MacOS (x86-64)", "minPy": [3, 10]},
|
||||
"ubuntu": { "icon": "🐧", "runs-on": "ubuntu-latest", "shell": "bash", "name": "Linux (x86-64)", "minPy": (3, 7)},
|
||||
"windows": { "icon": "🪟", "runs-on": "windows-latest", "shell": "pwsh", "name": "Windows (x86-64)", "minPy": (3, 7)},
|
||||
"macos": { "icon": "🍎", "runs-on": "macos-latest", "shell": "bash", "name": "MacOS (x86-64)", "minPy": (3, 10)},
|
||||
},
|
||||
# Runtimes provided by MSYS2
|
||||
"runtime": {
|
||||
@@ -183,13 +183,17 @@ jobs:
|
||||
for disable in disabled:
|
||||
print(f"- {disable}")
|
||||
|
||||
def toVersion(value):
|
||||
major, minor = value.split(".")
|
||||
return int(major[-1]), int(minor)
|
||||
|
||||
combinations = [
|
||||
(system, version)
|
||||
for system in systems
|
||||
if system in data["sys"]
|
||||
for version in versions
|
||||
if version in data["python"]
|
||||
and [int(i) for i in version.split(".")] >= data["sys"][system]["minPy"]
|
||||
and toVersion(version) >= data["sys"][system]["minPy"]
|
||||
and f"{system}:{version}" not in excludes
|
||||
and f"{system}:{version}" not in disabled
|
||||
] + [
|
||||
@@ -203,7 +207,7 @@ jobs:
|
||||
for system, version in includes
|
||||
if system in data["sys"]
|
||||
and version in data["python"]
|
||||
and [int(i) for i in version.split(".")] >= data["sys"][system]["minPy"]
|
||||
and toVersion(version) >= data["sys"][system]["minPy"]
|
||||
and f"{system}:{version}" not in disabled
|
||||
]
|
||||
print(f"Combinations ({len(combinations)}):")
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
pyTooling ~= 6.1
|
||||
|
||||
# Enforce latest version on ReadTheDocs
|
||||
sphinx ~= 7.2
|
||||
sphinx ~= 7.3
|
||||
docutils ~= 0.18.0
|
||||
|
||||
# Sphinx Extenstions
|
||||
@@ -16,5 +16,5 @@ sphinxcontrib-mermaid>=0.9.2
|
||||
autoapi >= 2.0.1
|
||||
sphinx_fontawesome >= 0.0.6
|
||||
sphinx-inline-tabs >= 2023.4.21
|
||||
sphinx_autodoc_typehints >= 1.24.0
|
||||
sphinx_autodoc_typehints ~= 2.1
|
||||
# changelog>=0.3.5
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[build-system]
|
||||
requires = [
|
||||
"setuptools >= 69.0.0",
|
||||
"wheel >= 0.40.0",
|
||||
"setuptools ~= 69.5",
|
||||
"wheel ~= 0.40.0",
|
||||
"pyTooling ~= 6.1"
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
@@ -8,6 +8,6 @@ pytest ~= 8.1
|
||||
pytest-cov ~= 5.0
|
||||
|
||||
# Static Type Checking
|
||||
mypy ~= 1.9
|
||||
mypy ~= 1.10
|
||||
typing_extensions ~= 4.11
|
||||
lxml ~= 5.1
|
||||
|
||||
Reference in New Issue
Block a user