Skip to content

Commit c548150

Browse files
committed
Use auto tagging pipeline.
1 parent 5f79c64 commit c548150

File tree

13 files changed

+404
-38
lines changed

13 files changed

+404
-38
lines changed

.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: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,18 @@ on:
99

1010
jobs:
1111
Pipeline:
12-
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r4
12+
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@dev
1313
with:
1414
package_namespace: pyEDAA
1515
package_name: ProjectModel
16-
# unittest_python_version:
17-
# unittest_python_version_list:
18-
# unittest_system_list:
19-
# unittest_include_list:
20-
# unittest_exclude_list:
2116
unittest_disable_list: "mingw64:* ucrt64:*"
22-
# apptest_python_version:
2317
apptest_python_version_list: "" # use latest Python version
2418
apptest_system_list: "ubuntu macos macos-arm"
25-
# apptest_include_list:
26-
# apptest_exclude_list:
27-
# apptest_disable_list:
19+
codecov: true
20+
codacy: true
21+
dorny: true
2822
secrets:
29-
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
30-
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
23+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
24+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
25+
CODACY_TOKEN: ${{ secrets.CODACY_TOKEN }}
26+

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>`__.

doc/Dependency.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ PyPI (see :ref:`INSTALL`).
5050
+---------------------------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
5151
| **Package** | **Version** | **License** | **Dependencies** |
5252
+=======================================================================================+=============+==========================================================================================================+=============================================================================================================================================================+
53-
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.3 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.txt>`__ | *None* |
53+
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.4 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.txt>`__ | *None* |
5454
+---------------------------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
5555
| `pyVHDLModel <https://GitHub.com/VHDL/pyVHDLModel>`__ | ≥0.31 | `Apache License, 2.0 <https://GitHub.com/VHDL/pyVHDLModel/blob/master/LICENSE>`__ | * `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ (`Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.txt>`__) |
5656
+---------------------------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -100,15 +100,15 @@ the mandatory dependencies too.
100100
+=====================================================================+=============+========================================================================================+======================+
101101
| `pytest <https://GitHub.com/pytest-dev/pytest>`__ | ≥8.3 | `MIT <https://GitHub.com/pytest-dev/pytest/blob/master/LICENSE>`__ | *Not yet evaluated.* |
102102
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
103-
| `pytest-cov <https://GitHub.com/pytest-dev/pytest-cov>`__ | ≥6.0 | `MIT <https://GitHub.com/pytest-dev/pytest-cov/blob/master/LICENSE>`__ | *Not yet evaluated.* |
103+
| `pytest-cov <https://GitHub.com/pytest-dev/pytest-cov>`__ | ≥6.1 | `MIT <https://GitHub.com/pytest-dev/pytest-cov/blob/master/LICENSE>`__ | *Not yet evaluated.* |
104104
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
105105
| `Coverage <https://GitHub.com/nedbat/coveragepy>`__ | ≥7.8 | `Apache License, 2.0 <https://GitHub.com/nedbat/coveragepy/blob/master/LICENSE.txt>`__ | *Not yet evaluated.* |
106106
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
107107
| `mypy <https://GitHub.com/python/mypy>`__ | ≥1.15 | `MIT <https://GitHub.com/python/mypy/blob/master/LICENSE>`__ | *Not yet evaluated.* |
108108
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
109109
| `typing-extensions <https://GitHub.com/python/typing_extensions>`__ | ≥4.13 | `PSF-2.0 <https://github.com/python/typing_extensions/blob/main/LICENSE>`__ | *Not yet evaluated.* |
110110
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
111-
| `lxml <https://GitHub.com/lxml/lxml>`__ | ≥5.3 | `BSD 3-Clause <https://GitHub.com/lxml/lxml/blob/master/LICENSE.txt>`__ | *Not yet evaluated.* |
111+
| `lxml <https://GitHub.com/lxml/lxml>`__ | ≥5.4 | `BSD 3-Clause <https://GitHub.com/lxml/lxml/blob/master/LICENSE.txt>`__ | *Not yet evaluated.* |
112112
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
113113

114114

@@ -149,7 +149,7 @@ the mandatory dependencies too.
149149
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
150150
| **Package** | **Version** | **License** | **Dependencies** |
151151
+=================================================================================================+==============+==========================================================================================================+======================================================================================================================================================+
152-
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.3 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.md>`__ | *None* |
152+
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.4 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.md>`__ | *None* |
153153
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
154154
| `Sphinx <https://GitHub.com/sphinx-doc/sphinx>`__ | ≥8.2 | `BSD 3-Clause <https://GitHub.com/sphinx-doc/sphinx/blob/master/LICENSE>`__ | *Not yet evaluated.* |
155155
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -163,7 +163,7 @@ the mandatory dependencies too.
163163
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
164164
| `sphinx-copybutton <https://GitHub.com/executablebooks/sphinx-copybutton>`__ | ≥0.5.2 | `MIT <https://GitHub.com/executablebooks/sphinx-copybutton/blob/master/LICENSE>`__ | *Not yet evaluated.* |
165165
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
166-
| `sphinx_autodoc_typehints <https://GitHub.com/agronholm/sphinx-autodoc-typehints>`__ | ≥3.1 | `MIT <https://GitHub.com/agronholm/sphinx-autodoc-typehints/blob/master/LICENSE>`__ | *Not yet evaluated.* |
166+
| `sphinx_autodoc_typehints <https://GitHub.com/agronholm/sphinx-autodoc-typehints>`__ | ≥3.2 | `MIT <https://GitHub.com/agronholm/sphinx-autodoc-typehints/blob/master/LICENSE>`__ | *Not yet evaluated.* |
167167
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
168168
| `ruamel.yaml <https://sourceforge.net/projects/ruamel-yaml/>`__ | ≥0.18 | `MIT <https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree/LICENSE>`__ | *Not yet evaluated.* |
169169
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -204,7 +204,7 @@ install the mandatory dependencies too.
204204
+----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
205205
| **Package** | **Version** | **License** | **Dependencies** |
206206
+============================================================================+==============+==========================================================================================================+======================================================================================================================================================+
207-
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.3 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.md>`__ | *None* |
207+
| `pyTooling <https://GitHub.com/pyTooling/pyTooling>`__ | ≥8.4 | `Apache License, 2.0 <https://GitHub.com/pyTooling/pyTooling/blob/main/LICENSE.md>`__ | *None* |
208208
+----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
209209
| `wheel <https://GitHub.com/pypa/wheel>`__ | ≥0.45 | `MIT <https://github.com/pypa/wheel/blob/main/LICENSE.txt>`__ | *Not yet evaluated.* |
210210
+----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+

doc/DocCoverage.rst

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
1-
Documentation Coverage
2-
######################
1+
.. _DOCCOV:
32

4-
Documentation coverage generated by `docstr-coverage <https://github.com/HunterMcGushion/docstr_coverage>`__.
3+
Documentation Coverage Report
4+
#############################
55

6-
.. report:doc-coverage::
7-
:packageid: src
6+
.. grid:: 2
7+
8+
.. grid-item::
9+
:columns: 5
10+
11+
.. report:doc-coverage::
12+
:reportid: src
13+
14+
.. grid-item::
15+
:columns: 7
16+
17+
.. report:doc-coverage-legend::
18+
:reportid: src
19+
:style: vertical-table
20+
21+
----------
22+
23+
Documentation coverage generated with `"""docstr-coverage""" <https://github.com/HunterMcGushion/docstr_coverage>`__ and
24+
visualized by `sphinx-reports <https://github.com/pyTooling/sphinx-reports>`__.

doc/coverage/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Code Coverage Report
2-
####################
1+
Code Coverage Details
2+
#####################
33

44
Code coverage report generated with `pytest <https://github.com/pytest-dev/pytest>`__ and `Coverage.py <https://github.com/nedbat/coveragepy/tree/master>`__.
55

66
.. report:code-coverage::
7-
:packageid: src
7+
:reportid: src

doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ License
161161
Python Class Reference <pyEDAA.ProjectModel/pyEDAA.ProjectModel>
162162
unittests/index
163163
coverage/index
164+
CodeCoverage
164165
Doc. Coverage Report <DocCoverage>
165166
Static Type Check Report ➚ <typing/index>
166167

doc/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ sphinxcontrib-mermaid ~= 1.0
1313
autoapi >= 2.0.1
1414
sphinx_design ~= 0.6.1
1515
sphinx-copybutton >= 0.5.2
16-
sphinx_autodoc_typehints ~= 3.1
17-
sphinx_reports ~= 0.7
16+
sphinx_autodoc_typehints ~= 3.2
17+
sphinx_reports ~= 0.9

doc/unittests/index.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
Unittest Summary Report
22
#######################
33

4-
Unittest report generated with `pytest <https://github.com/pytest-dev/pytest>`__.
5-
64
.. report:unittest-summary::
75
:reportid: src
6+
:show-testcases: not-passed
7+
:no-assertions:
8+
9+
----------
10+
11+
Unittest report generated with `pytest <https://github.com/pytest-dev/pytest>`__ and visualized by
12+
`sphinx-reports <https://github.com/pyTooling/sphinx-reports>`__.

pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[build-system]
22
requires = [
3-
"setuptools ~= 78.1",
3+
"setuptools >= 80.0",
44
"wheel ~= 0.45",
5-
"pyTooling ~= 8.3"
5+
"pyTooling ~= 8.4"
66
]
77
build-backend = "setuptools.build_meta"
88

@@ -21,7 +21,10 @@ namespace_packages = true
2121
html_report = "report/typing"
2222

2323
[tool.pytest]
24-
junit_xml = "report/unit/TestReportSummary.xml"
24+
junit_xml = "report/unit/UnittestReportSummary.xml"
25+
26+
[tool.pyedaa-reports]
27+
junit_xml = "report/unit/unittest.xml"
2528

2629
[tool.pytest.ini_options]
2730
addopts = "--tb=native"

0 commit comments

Comments
 (0)