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