Skip to content

Commit bf1934d

Browse files
committed
Use auto tagging pipeline.
1 parent d52d33f commit bf1934d

File tree

14 files changed

+87
-34
lines changed

14 files changed

+87
-34
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: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ on:
99

1010
jobs:
1111
Pipeline:
12-
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r2
12+
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@dev
1313
with:
1414
package_name: pySystemRDLModel
15+
codecov: true
16+
codacy: true
17+
dorny: true
1518
secrets:
16-
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
17-
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
19+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
20+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
21+
CODACY_TOKEN: ${{ secrets.CODACY_TOKEN }}

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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ When installed as ``pySystemRDLModel``:
5252
+--------------------------------------------------------+-------------+------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+
5353
| **Package** | **Version** | **License** | **Dependencies** |
5454
+========================================================+=============+==========================================================================================+=================================================================================================================================+
55-
| `pyTooling <https://github.com/pyTooling/pyTooling>`__ | ≥8.3 | `Apache License, 2.0 <https://github.com/pyTooling/pyTooling/blob/main/LICENSE.txt>`__ | *None* |
55+
| `pyTooling <https://github.com/pyTooling/pyTooling>`__ | ≥8.4 | `Apache License, 2.0 <https://github.com/pyTooling/pyTooling/blob/main/LICENSE.txt>`__ | *None* |
5656
+--------------------------------------------------------+-------------+------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------+
5757

5858

@@ -96,15 +96,15 @@ the mandatory dependencies too.
9696
+=====================================================================+=============+========================================================================================+======================+
9797
| `pytest <https://github.com/pytest-dev/pytest>`__ | ≥8.3 | `MIT <https://github.com/pytest-dev/pytest/blob/master/LICENSE>`__ | *Not yet evaluated.* |
9898
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
99-
| `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.* |
99+
| `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.* |
100100
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
101101
| `Coverage <https://github.com/nedbat/coveragepy>`__ | ≥7.8 | `Apache License, 2.0 <https://github.com/nedbat/coveragepy/blob/master/LICENSE.txt>`__ | *Not yet evaluated.* |
102102
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
103103
| `mypy <https://github.com/python/mypy>`__ | ≥1.15 | `MIT <https://github.com/python/mypy/blob/master/LICENSE>`__ | *Not yet evaluated.* |
104104
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
105105
| `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.* |
106106
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
107-
| `lxml <https://github.com/lxml/lxml>`__ | ≥5.3 | `BSD 3-Clause <https://github.com/lxml/lxml/blob/master/LICENSE.txt>`__ | *Not yet evaluated.* |
107+
| `lxml <https://github.com/lxml/lxml>`__ | ≥5.4 | `BSD 3-Clause <https://github.com/lxml/lxml/blob/master/LICENSE.txt>`__ | *Not yet evaluated.* |
108108
+---------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------------+----------------------+
109109

110110

@@ -144,7 +144,7 @@ the mandatory dependencies too.
144144
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
145145
| **Package** | **Version** | **License** | **Dependencies** |
146146
+=================================================================================================+==============+==========================================================================================================+======================================================================================================================================================+
147-
| `pyTooling <https://github.com/pyTooling/pyTooling>`__ | ≥8.3 | `Apache License, 2.0 <https://github.com/pyTooling/pyTooling/blob/main/LICENSE.md>`__ | *None* |
147+
| `pyTooling <https://github.com/pyTooling/pyTooling>`__ | ≥8.4 | `Apache License, 2.0 <https://github.com/pyTooling/pyTooling/blob/main/LICENSE.md>`__ | *None* |
148148
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
149149
| `Sphinx <https://github.com/sphinx-doc/sphinx>`__ | ≥8.2 | `BSD 3-Clause <https://github.com/sphinx-doc/sphinx/blob/master/LICENSE>`__ | *Not yet evaluated.* |
150150
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -198,7 +198,7 @@ install the mandatory dependencies too.
198198
+----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
199199
| **Package** | **Version** | **License** | **Dependencies** |
200200
+============================================================================+==============+==========================================================================================================+======================================================================================================================================================+
201-
| `pyTooling <https://github.com/pyTooling/pyTooling>`__ | ≥8.3 | `Apache License, 2.0 <https://github.com/pyTooling/pyTooling/blob/main/LICENSE.md>`__ | *None* |
201+
| `pyTooling <https://github.com/pyTooling/pyTooling>`__ | ≥8.4 | `Apache License, 2.0 <https://github.com/pyTooling/pyTooling/blob/main/LICENSE.md>`__ | *None* |
202202
+----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
203203
| `wheel <https://github.com/pypa/wheel>`__ | ≥0.45 | `MIT <https://github.com/pypa/wheel/blob/main/LICENSE.txt>`__ | *Not yet evaluated.* |
204204
+----------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+

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/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
report_unittest_testsuites = {
264264
"src": {
265265
"name": f"{project}",
266-
"xml_report": "../report/unit/TestReportSummary.xml",
266+
"xml_report": "../report/unit/unittest.xml",
267267
}
268268
}
269269
report_codecov_packages = {
@@ -277,7 +277,7 @@
277277
report_doccov_packages = {
278278
"src": {
279279
"name": f"{project}",
280-
"directory": f"../{project}",
280+
"directory": f"../{directoryName}",
281281
"fail_below": 80,
282282
"levels": "default"
283283
}

doc/coverage/index.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +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

6-
76
.. report:code-coverage::
8-
:packageid: src
7+
:reportid: src

doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ License
132132
Python Class Reference <pySystemRDLModel/pySystemRDLModel>
133133
unittests/index
134134
coverage/index
135+
CodeCoverage
135136
Doc. Coverage Report <DocCoverage>
136137
Static Type Check Report ➚ <typing/index>
137138

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

0 commit comments

Comments
 (0)