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