Skip to content

Commit 3f9df71

Browse files
committed
v7.8.0
2 parents 41aed3e + 9c53cd6 commit 3f9df71

19 files changed

Lines changed: 120 additions & 92 deletions

.github/workflows/ArtifactCleanUp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ jobs:
4747

4848
steps:
4949
- name: 🗑️ Delete package Artifacts
50-
uses: geekyeggo/delete-artifact@v5
50+
uses: geekyeggo/delete-artifact@v6
5151
if: ${{ ! startsWith(github.ref, 'refs/tags') }}
5252
with:
5353
name: ${{ inputs.package }}
5454

5555
- name: 🗑️ Delete remaining Artifacts
56-
uses: geekyeggo/delete-artifact@v5
56+
uses: geekyeggo/delete-artifact@v6
5757
if: ${{ inputs.remaining != '' }}
5858
with:
5959
name: ${{ inputs.remaining }}

.github/workflows/CheckCodeQuality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
fi
126126
127127
- name: 📊 Publish Bandit Results
128-
uses: dorny/test-reporter@v2
128+
uses: dorny/test-reporter@v3
129129
if: steps.bandit.outputs.bandit_passed == 'false'
130130
continue-on-error: true
131131
with:

.github/workflows/CleanupArtifacts.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
f.write(f"artifacts={dumps(artifacts)}\n")
100100
101101
- name: 🗑️ Delete artifacts
102-
uses: geekyeggo/delete-artifact@v5
102+
uses: geekyeggo/delete-artifact@v6
103103
if: inputs.artifact-json-ids != '' && steps.compute.outputs.artifacts != ''
104104
continue-on-error: true
105105
with:
@@ -146,16 +146,16 @@ jobs:
146146
f.write(f"artifacts={dumps(artifacts)}\n")
147147
148148
- name: 🗑️ Delete artifacts
149-
uses: geekyeggo/delete-artifact@v5
149+
uses: geekyeggo/delete-artifact@v6
150150
if: inputs.artifact-json-ids2 != '' && steps.compute2.outputs.artifacts != ''
151151
continue-on-error: true
152152
with:
153153
name: |
154154
${{ join(fromJSON(steps.compute.outputs.artifacts).*, '
155155
') }}
156156
157-
- name: 🗑️ Delete other Artifacts
158-
uses: geekyeggo/delete-artifact@v5
157+
- name: 🗑️ Delete other artifacts
158+
uses: geekyeggo/delete-artifact@v6
159159
if: ${{ inputs.others != '' }}
160160
with:
161161
name: ${{ inputs.others }}

.github/workflows/CompletePipeline.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ on:
152152
jobs:
153153
Prepare:
154154
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@main
155+
with:
156+
pipeline-delay: 10
155157

156158
ConfigParams:
157159
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@main
@@ -406,6 +408,7 @@ jobs:
406408
needs:
407409
- UnitTestingParams
408410
- Documentation
411+
if: contains(inputs.documentation_steps, 'latex') && contains(inputs.documentation_steps, 'pdf')
409412
with:
410413
document: ${{ needs.UnitTestingParams.outputs.package_fullname }}
411414
latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}
@@ -421,10 +424,12 @@ jobs:
421424
# - PDFDocumentation
422425
- PublishCoverageResults
423426
- StaticTypeCheck
427+
if: contains(inputs.documentation_steps, 'pages')
424428
with:
425429
doc: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }}
426430
coverage: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }}
427431
typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
432+
cleanup: ${{ inputs.cleanup }}
428433

429434
TriggerTaggedRelease:
430435
uses: pyTooling/Actions/.github/workflows/TagReleaseCommit.yml@main
@@ -475,6 +480,7 @@ jobs:
475480
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
476481
requirements: '-r dist/requirements.txt'
477482
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
483+
cleanup: ${{ inputs.cleanup }}
478484
secrets:
479485
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
480486

@@ -485,7 +491,7 @@ jobs:
485491
- UnitTesting
486492
- StaticTypeCheck
487493
- Documentation
488-
# - PDFDocumentation
494+
- PDFDocumentation
489495
- PublishTestResults
490496
- PublishCoverageResults
491497
- PublishToGitHubPages
@@ -510,5 +516,5 @@ jobs:
510516
statictyping_html
511517
#apptesting_xml:-*
512518
documentation_html
513-
documentation_latex
519+
#documentation_latex
514520
#documentation_pdf

.github/workflows/IntermediateCleanUp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ jobs:
4646
runs-on: "ubuntu-${{ inputs.ubuntu_image_version }}"
4747
steps:
4848
- name: 🗑️ Delete SQLite coverage artifacts from matrix jobs
49-
uses: geekyeggo/delete-artifact@v5
49+
uses: geekyeggo/delete-artifact@v6
5050
if: inputs.sqlite_coverage_artifacts_prefix != ''
5151
continue-on-error: true
5252
with:
5353
name: ${{ inputs.sqlite_coverage_artifacts_prefix }}*
5454

5555
- name: 🗑️ Delete JUnit XML artifacts from matrix jobs
56-
uses: geekyeggo/delete-artifact@v5
56+
uses: geekyeggo/delete-artifact@v6
5757
if: inputs.xml_unittest_artifacts_prefix != ''
5858
continue-on-error: true
5959
with:

.github/workflows/LaTeXDocumentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ jobs:
7878
path: latex
7979
investigate: 'true'
8080

81-
- name: Update
81+
- name: ⚙️ Update
8282
run: |
8383
sudo miktex --admin packages update-package-database
8484
sudo miktex --admin packages update
8585
sudo initexmf --admin --update-fndb
8686
87-
- name: Build LaTeX document using 'pytooling/miktex:sphinx'
87+
- name: 📖 Build LaTeX document using 'pytooling/miktex:sphinx'
8888
if: inputs.pdf_artifact != ''
8989
run: |
9090
set -o pipefail

.github/workflows/Parameters.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -158,18 +158,18 @@ jobs:
158158
python_jobs: ${{ steps.jobs.outputs.python_jobs }}
159159

160160
steps:
161+
- name: ⌛ Generate a startup delay of ${{ inputs.pipeline-delay }} seconds
162+
id: delay
163+
if: inputs.pipeline-delay >= 0
164+
run: |
165+
sleep ${{ inputs.pipeline-delay }}
166+
161167
- name: ⏬ Checkout repository
162168
uses: actions/checkout@v6
163169
with:
164170
# The command 'git describe' (used for version) needs the history.
165171
fetch-depth: 0
166172

167-
- name: Generate a startup delay of ${{ inputs.pipeline-delay }} seconds
168-
id: delay
169-
if: inputs.pipeline-delay >= 0
170-
run: |
171-
sleep ${{ inputs.pipeline-delay }}
172-
173173
- name: Generate 'python_version'
174174
id: variables
175175
shell: python
@@ -242,9 +242,9 @@ jobs:
242242
package_namespace = "${{ inputs.package_namespace }}".strip()
243243
package_name = "${{ inputs.package_name }}".strip()
244244
artifact_basename = "${{ steps.variables.outputs.artifact_basename }}"
245-
documentationSteps = [step for step in "${{ inputs.documentation_steps }}".split(" ") if step != ""]
245+
documentationSteps = set(step for step in "${{ inputs.documentation_steps }}".split(" ") if step != "")
246246
if "none" in documentationSteps:
247-
documentationSteps = []
247+
documentationSteps = set()
248248
249249
artifact_names = {
250250
"unittesting_xml": f"{artifact_basename}-UnitTestReportSummary-XML",

.github/workflows/PrepareJob.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ on:
5454
required: false
5555
default: '(v|r)?[0-9]+(\.[0-9]+){0,2}(-(dev|alpha|beta|rc)([0-9]*))?'
5656
type: string
57+
pipeline-delay:
58+
description: 'Slow down this job, to delay the startup of the GitHub Action pipline.'
59+
required: false
60+
default: 0
61+
type: number
5762

5863
outputs:
5964
on_default_branch:
@@ -151,6 +156,12 @@ jobs:
151156
git_submodule_paths: ${{ steps.Classify.outputs.git_submodule_paths }}
152157

153158
steps:
159+
- name: ⌛ Generate a startup delay of ${{ inputs.pipeline-delay }} seconds
160+
id: delay
161+
if: inputs.pipeline-delay >= 0
162+
run: |
163+
sleep ${{ inputs.pipeline-delay }}
164+
154165
- name: ⏬ Checkout repository
155166
uses: actions/checkout@v6
156167
with:

.github/workflows/PublishOnPyPI.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ on:
4444
description: 'Name of the package artifact.'
4545
required: true
4646
type: string
47+
cleanup:
48+
description: 'Cleanup artifacts afterwards.'
49+
required: false
50+
default: 'true'
51+
type: string
4752
secrets:
4853
PYPI_TOKEN:
4954
description: "Token for pushing releases to PyPI"
@@ -82,6 +87,7 @@ jobs:
8287
run: twine upload dist/*.tar.gz
8388

8489
- name: 🗑️ Delete packaging Artifacts
85-
uses: geekyeggo/delete-artifact@v5
90+
uses: geekyeggo/delete-artifact@v6
91+
if: inputs.cleanup == 'true'
8692
with:
8793
name: ${{ inputs.artifact }}

.github/workflows/PublishTestResults.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
cat ${{ inputs.merged_junit_filename }}
135135
136136
- name: 📊 Publish Unit Test Results
137-
uses: dorny/test-reporter@v2
137+
uses: dorny/test-reporter@v3
138138
id: test-reporter
139139
if: ( inputs.dorny == 'true' || inputs.publish == 'true' ) && inputs.report_title != ''
140140
continue-on-error: true

0 commit comments

Comments
 (0)