|
8 | 8 | - cron: '0 22 * * 5' |
9 | 9 |
|
10 | 10 | jobs: |
11 | | - UnitTestingParams: |
12 | | - uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev |
13 | | - with: |
14 | | - name: pyEDAA.ProjectModel |
15 | | -# python_version_list: "3.9 3.10 3.11 3.12 pypy-3.9 pypy-3.10" |
16 | | - disable_list: "mingw64:* ucrt64:*" |
17 | | - |
18 | | - AppTestingParams: |
19 | | - uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev |
20 | | - with: |
21 | | - name: pyEDAA.ProjectModel |
22 | | - python_version_list: "" # use latest Python version |
23 | | - system_list: "ubuntu macos macos-arm" |
24 | | -# include_list: |
25 | | -# exclude_list: |
26 | | -# disable_list: "windows:pypy-3.8 windows:pypy-3.9 windows:pypy-3.10" |
27 | | - |
28 | | - UnitTesting: |
29 | | - uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev |
30 | | - needs: |
31 | | - - UnitTestingParams |
32 | | - with: |
33 | | - jobs: ${{ needs.UnitTestingParams.outputs.python_jobs }} |
34 | | - requirements: "-r tests/unit/requirements.txt" |
35 | | -# pacboy: "msys/git python-lxml:p" |
36 | | - unittest_xml_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }} |
37 | | - coverage_sqlite_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }} |
38 | | - |
39 | | - StaticTypeCheck: |
40 | | - uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@dev |
41 | | - needs: |
42 | | - - UnitTestingParams |
43 | | - with: |
44 | | - python_version: ${{ needs.UnitTestingParams.outputs.python_version }} |
45 | | - commands: | |
46 | | - touch pyEDAA/__init__.py |
47 | | - mypy --html-report htmlmypy -p pyEDAA.ProjectModel |
48 | | - html_report: 'htmlmypy' |
49 | | - html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }} |
50 | | - |
51 | | - DocCoverage: |
52 | | - uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@dev |
53 | | - needs: |
54 | | - - UnitTestingParams |
55 | | - with: |
56 | | - python_version: ${{ needs.UnitTestingParams.outputs.python_version }} |
57 | | - directory: pyEDAA/ProjectModel |
58 | | -# fail_below: 70 |
59 | | - |
60 | | - ConfigParams: |
61 | | - uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@dev |
62 | | - needs: |
63 | | - - DocCoverage |
64 | | - |
65 | | - Package: |
66 | | - uses: pyTooling/Actions/.github/workflows/Package.yml@dev |
67 | | - needs: |
68 | | - - UnitTestingParams |
69 | | - - UnitTesting |
70 | | - with: |
71 | | - python_version: ${{ needs.UnitTestingParams.outputs.python_version }} |
72 | | - artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }} |
73 | | - |
74 | | -# AppTesting: |
75 | | -# uses: pyTooling/Actions/.github/workflows/ApplicationTesting.yml@dev |
76 | | -# needs: |
77 | | -# - AppTestingParams |
78 | | -# - UnitTestingParams |
79 | | -# - Package |
80 | | -# with: |
81 | | -# jobs: ${{ needs.AppTestingParams.outputs.python_jobs }} |
82 | | -# wheel: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }} |
83 | | -# apptest_xml_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).apptesting_xml }} |
84 | | - |
85 | | - PublishCoverageResults: |
86 | | - uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@dev |
87 | | - needs: |
88 | | - - UnitTestingParams |
89 | | - - UnitTesting |
90 | | - with: |
91 | | -# coverage_sqlite_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }} |
92 | | -# coverage_xml_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_xml }} |
93 | | - coverage_json_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_json }} |
94 | | - coverage_html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }} |
| 11 | + Pipeline: |
| 12 | + uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@dev |
| 13 | + with: |
| 14 | + package_namespace: pyEDAA |
| 15 | + package_name: ProjectModel |
| 16 | + unittest_disable_list: "mingw64:* ucrt64:*" |
| 17 | + apptest_python_version_list: "" # use latest Python version |
| 18 | + apptest_system_list: "ubuntu macos macos-arm" |
| 19 | + codecov: true |
| 20 | + codacy: true |
| 21 | + dorny: true |
95 | 22 | secrets: |
96 | | - codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }} |
| 23 | + PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} |
| 24 | + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
| 25 | + CODACY_TOKEN: ${{ secrets.CODACY_TOKEN }} |
97 | 26 |
|
98 | | - PublishTestResults: |
99 | | - uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@dev |
100 | | - needs: |
101 | | - - UnitTestingParams |
102 | | - - UnitTesting |
103 | | - with: |
104 | | - merged_junit_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }} |
105 | | - |
106 | | -# VerifyDocs: |
107 | | -# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@dev |
108 | | -# needs: |
109 | | -# - UnitTestingParams |
110 | | -# with: |
111 | | -# python_version: ${{ needs.UnitTestingParams.outputs.python_version }} |
112 | | - |
113 | | - Documentation: |
114 | | - uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@dev |
115 | | - needs: |
116 | | - - UnitTestingParams |
117 | | - - ConfigParams |
118 | | - - PublishTestResults |
119 | | - - PublishCoverageResults |
120 | | -# - VerifyDocs |
121 | | - with: |
122 | | - python_version: ${{ needs.UnitTestingParams.outputs.python_version }} |
123 | | - coverage_report_json_directory: ${{ needs.ConfigParams.outputs.coverage_report_json_directory }} |
124 | | - unittest_xml_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}-ubuntu-native-3.12 |
125 | | - coverage_json_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_json }} |
126 | | - html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }} |
127 | | - latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }} |
128 | | - |
129 | | - IntermediateCleanUp: |
130 | | - uses: pyTooling/Actions/.github/workflows/IntermediateCleanUp.yml@dev |
131 | | - needs: |
132 | | - - UnitTestingParams |
133 | | - - PublishCoverageResults |
134 | | - - PublishTestResults |
135 | | - - Documentation |
136 | | - with: |
137 | | - sqlite_coverage_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }}- |
138 | | - xml_unittest_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}- |
139 | | - |
140 | | -# PDFDocumentation: |
141 | | -# uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@dev |
142 | | -# needs: |
143 | | -# - UnitTestingParams |
144 | | -# - Documentation |
145 | | -# with: |
146 | | -# document: pyEDAA.ProjectModel |
147 | | -# latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }} |
148 | | -# pdf_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_pdf }} |
149 | | - |
150 | | - PublishToGitHubPages: |
151 | | - uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@dev |
152 | | - needs: |
153 | | - - UnitTestingParams |
154 | | - - Documentation |
155 | | -# - PDFDocumentation |
156 | | - - PublishCoverageResults |
157 | | - - StaticTypeCheck |
158 | | - with: |
159 | | - doc: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }} |
160 | | - coverage: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }} |
161 | | - typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }} |
162 | | - |
163 | | - ReleasePage: |
164 | | - uses: pyTooling/Actions/.github/workflows/Release.yml@dev |
165 | | - if: startsWith(github.ref, 'refs/tags') |
166 | | - needs: |
167 | | - - Package |
168 | | -# - AppTesting |
169 | | - - PublishToGitHubPages |
170 | | - |
171 | | - PublishOnPyPI: |
172 | | - uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev |
173 | | - if: startsWith(github.ref, 'refs/tags') |
174 | | - needs: |
175 | | - - UnitTestingParams |
176 | | - - ReleasePage |
177 | | - with: |
178 | | - python_version: ${{ needs.UnitTestingParams.outputs.python_version }} |
179 | | - requirements: -r dist/requirements.txt |
180 | | - artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }} |
181 | | - secrets: |
182 | | - PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} |
183 | | - |
184 | | - ArtifactCleanUp: |
185 | | - uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@dev |
186 | | - needs: |
187 | | - - UnitTestingParams |
188 | | - - UnitTesting |
189 | | - - StaticTypeCheck |
190 | | - - Documentation |
191 | | -# - PDFDocumentation |
192 | | - - PublishTestResults |
193 | | - - PublishCoverageResults |
194 | | - - PublishToGitHubPages |
195 | | -# - PublishOnPyPI |
196 | | - - IntermediateCleanUp |
197 | | - with: |
198 | | - package: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }} |
199 | | - remaining: | |
200 | | - ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_html }}-* |
201 | | - ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_xml }}-* |
202 | | - ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_json }}-* |
203 | | - ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }}-* |
204 | | - ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }} |
205 | | - ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_html }} |
206 | | - ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }} |
207 | | - ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_xml }} |
208 | | - ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_json }} |
209 | | - ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }} |
210 | | - ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }} |
211 | | - ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }} |
212 | | - ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }} |
213 | | -# ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).apptesting_xml }}-* |
214 | | -# ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_pdf }} |
0 commit comments