Skip to content

Commit 5abd806

Browse files
committed
Use new pipeline templates.
1 parent 3eff1ea commit 5abd806

File tree

1 file changed

+26
-19
lines changed

1 file changed

+26
-19
lines changed

.github/workflows/Pipeline.yml

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
UnitTestingParams:
12-
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r1
12+
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
1313
with:
1414
name: pyEDAA.ProjectModel
1515
# python_version_list: "3.9 3.10 3.11 3.12 pypy-3.9 pypy-3.10"
@@ -37,7 +37,7 @@ jobs:
3737
coverage_sqlite_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }}
3838

3939
StaticTypeCheck:
40-
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r1
40+
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@dev
4141
needs:
4242
- UnitTestingParams
4343
with:
@@ -49,16 +49,21 @@ jobs:
4949
html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
5050

5151
DocCoverage:
52-
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@r1
52+
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@dev
5353
needs:
5454
- UnitTestingParams
5555
with:
5656
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
5757
directory: pyEDAA/ProjectModel
5858
# fail_below: 70
5959

60+
ConfigParams:
61+
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@dev
62+
needs:
63+
- DocCoverage
64+
6065
Package:
61-
uses: pyTooling/Actions/.github/workflows/Package.yml@r1
66+
uses: pyTooling/Actions/.github/workflows/Package.yml@dev
6267
needs:
6368
- UnitTestingParams
6469
- UnitTesting
@@ -67,7 +72,7 @@ jobs:
6772
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
6873

6974
AppTesting:
70-
uses: pyTooling/Actions/.github/workflows/ApplicationTesting.yml@r1
75+
uses: pyTooling/Actions/.github/workflows/ApplicationTesting.yml@dev
7176
needs:
7277
- AppTestingParams
7378
- UnitTestingParams
@@ -78,7 +83,7 @@ jobs:
7883
apptest_xml_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).apptesting_xml }}
7984

8085
PublishCoverageResults:
81-
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@r1
86+
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@dev
8287
needs:
8388
- UnitTestingParams
8489
- UnitTesting
@@ -99,52 +104,54 @@ jobs:
99104
merged_junit_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}
100105

101106
# VerifyDocs:
102-
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@r1
107+
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@dev
103108
# needs:
104109
# - UnitTestingParams
105110
# with:
106111
# python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
107112

108-
HTMLDocumentation:
109-
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@r1
113+
Documentation:
114+
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@dev
110115
needs:
111116
- UnitTestingParams
117+
- ConfigParams
112118
- PublishTestResults
113119
- PublishCoverageResults
114120
# - VerifyDocs
115121
with:
116122
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
123+
coverage_report_json_directory: ${{ needs.ConfigParams.outputs.coverage_report_json_directory }}
117124
unittest_xml_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}-ubuntu-native-3.12
118125
coverage_json_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_json }}
119126
html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }}
120127
latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}
121128

122129
IntermediateCleanUp:
123-
uses: pyTooling/Actions/.github/workflows/IntermediateCleanUp.yml@r1
130+
uses: pyTooling/Actions/.github/workflows/IntermediateCleanUp.yml@dev
124131
needs:
125132
- UnitTestingParams
126133
- PublishCoverageResults
127134
- PublishTestResults
128-
- HTMLDocumentation
135+
- Documentation
129136
with:
130137
sqlite_coverage_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }}-
131138
xml_unittest_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}-
132139

133140
# PDFDocumentation:
134-
# uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@r1
141+
# uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@dev
135142
# needs:
136143
# - UnitTestingParams
137-
# - HTMLDocumentation
144+
# - Documentation
138145
# with:
139146
# document: pyEDAA.ProjectModel
140147
# latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}
141148
# pdf_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_pdf }}
142149

143150
PublishToGitHubPages:
144-
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r1
151+
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@dev
145152
needs:
146153
- UnitTestingParams
147-
- HTMLDocumentation
154+
- Documentation
148155
# - PDFDocumentation
149156
- PublishCoverageResults
150157
- StaticTypeCheck
@@ -154,15 +161,15 @@ jobs:
154161
typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
155162

156163
ReleasePage:
157-
uses: pyTooling/Actions/.github/workflows/Release.yml@r1
164+
uses: pyTooling/Actions/.github/workflows/Release.yml@dev
158165
if: startsWith(github.ref, 'refs/tags')
159166
needs:
160167
- Package
161168
- AppTesting
162169
- PublishToGitHubPages
163170

164171
PublishOnPyPI:
165-
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r1
172+
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev
166173
if: startsWith(github.ref, 'refs/tags')
167174
needs:
168175
- UnitTestingParams
@@ -175,12 +182,12 @@ jobs:
175182
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
176183

177184
ArtifactCleanUp:
178-
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@r1
185+
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@dev
179186
needs:
180187
- UnitTestingParams
181188
- UnitTesting
182189
- StaticTypeCheck
183-
- HTMLDocumentation
190+
- Documentation
184191
# - PDFDocumentation
185192
- PublishTestResults
186193
- PublishCoverageResults

0 commit comments

Comments
 (0)