Skip to content

Commit cf54ecd

Browse files
authored
v0.5.1
2 parents adf2fce + c548150 commit cf54ecd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1518
-464
lines changed

.btd.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ updates:
1010
- Dependencies
1111
reviewers:
1212
- Paebbels
13-
- Umarcor
1413
schedule:
1514
interval: "daily" # Checks on Monday trough Friday.
1615

@@ -24,6 +23,5 @@ updates:
2423
- Dependencies
2524
reviewers:
2625
- Paebbels
27-
- Umarcor
2826
schedule:
2927
interval: "weekly"

.github/workflows/Pipeline.yml

Lines changed: 14 additions & 202 deletions
Original file line numberDiff line numberDiff line change
@@ -8,207 +8,19 @@ on:
88
- cron: '0 22 * * 5'
99

1010
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
9522
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 }}
9726

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 }}

.gitignore

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ __pycache__/
66
.coverage
77
.cov
88
coverage.xml
9+
/report/coverage
10+
11+
# mypy
12+
/report/typing
13+
14+
# pytest
15+
/report/unit
916

1017
# setuptools
1118
/build/**/*.*
@@ -15,11 +22,14 @@ coverage.xml
1522
# Dependencies
1623
!requirements.txt
1724

18-
# Sphinx
25+
# Sphinx documentation
1926
/doc/_build/
2027
/doc/_theme/
2128
/doc/pyEDAA.ProjectModel/**/*.*
2229
!/doc/pyEDAA.ProjectModel/index.rst
2330

2431
# PyCharm project files
2532
/.idea/workspace.xml
33+
34+
# Git files
35+
!.git*

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<a title="edaa-org.github.io/pySVModel" href="https://edaa-org.github.io/pyEDAA.ProjectModel"><img height="80px" src="doc/_static/logo_on_dark.svg"/></a>
2+
<a title="edaa-org.github.io/pyEDAA.ProjectModel" href="https://edaa-org.github.io/pyEDAA.ProjectModel"><img height="80px" src="doc/_static/logo_on_dark.svg"/></a>
33
</p>
44

55
[![Sourcecode on GitHub](https://img.shields.io/badge/pyEDAA-ProjectModel-ab47bc.svg?longCache=true&style=flat-square&logo=github&longCache=true&logo=GitHub&labelColor=6a1b9a)](https://GitHub.com/edaa-org/pyEDAA.ProjectModel)
@@ -10,7 +10,7 @@
1010
[![PyPI](https://img.shields.io/pypi/v/pyEDAA.ProjectModel?longCache=true&style=flat-square&logo=PyPI&logoColor=FBE072)](https://pypi.org/project/pyEDAA.ProjectModel/)
1111
![PyPI - Status](https://img.shields.io/pypi/status/pyEDAA.ProjectModel?longCache=true&style=flat-square&logo=PyPI&logoColor=FBE072)
1212
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyEDAA.ProjectModel?longCache=true&style=flat-square&logo=PyPI&logoColor=FBE072)
13-
[![GitHub Workflow - Build and Test Status](https://img.shields.io/github/workflow/status/edaa-org/pyEDAA.ProjectModel/Pipeline/main?longCache=true&style=flat-square&label=Build%20and%20test&logo=GitHub%20Actions&logoColor=FFFFFF)](https://GitHub.com/edaa-org/pyEDAA.ProjectModel/actions/workflows/Pipeline.yml)
13+
[![GitHub Workflow - Build and Test Status](https://img.shields.io/github/actions/workflow/status/edaa-org/pyEDAA.ProjectModel/Pipeline.yml?longCache=true&style=flat-square&label=Build%20and%20test&logo=GitHub%20Actions&logoColor=FFFFFF)](https://GitHub.com/edaa-org/pyEDAA.ProjectModel/actions/workflows/Pipeline.yml)
1414
[![Libraries.io status for latest release](https://img.shields.io/librariesio/release/pypi/pyEDAA.ProjectModel?longCache=true&style=flat-square&logo=Libraries.io&logoColor=fff)](https://libraries.io/github/edaa-org/pyEDAA.ProjectModel)
1515
[![Codacy - Quality](https://img.shields.io/codacy/grade/c2635df20fa840bc85639ca2fa1d9cb4?longCache=true&style=flat-square&logo=Codacy)](https://www.codacy.com/gh/edaa-org/pyEDAA.ProjectModel)
1616
[![Codacy - Coverage](https://img.shields.io/codacy/coverage/c2635df20fa840bc85639ca2fa1d9cb4?longCache=true&style=flat-square&logo=Codacy)](https://www.codacy.com/gh/edaa-org/pyEDAA.ProjectModel)

dist/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
wheel ~= 0.44
2-
twine ~= 5.1
1+
wheel ~= 0.45
2+
twine ~= 6.1

doc/CodeCoverage.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.. _CODECOV:
2+
3+
Code Coverage Report
4+
####################
5+
6+
.. grid:: 2
7+
8+
.. grid-item::
9+
:columns: 8
10+
11+
.. report:code-coverage::
12+
:reportid: src
13+
14+
.. grid-item::
15+
:columns: 4
16+
17+
.. report:code-coverage-legend::
18+
:reportid: src
19+
:style: vertical-table
20+
21+
----------
22+
23+
Code coverage report generated with `pytest <https://github.com/pytest-dev/pytest>`__,
24+
`Coverage.py <https://github.com/nedbat/coveragepy/tree/master>`__ and visualized by
25+
`sphinx-reports <https://github.com/pyTooling/sphinx-reports>`__.

0 commit comments

Comments
 (0)