diff --git a/.github/workflows/Pipeline.yml b/.github/workflows/Pipeline.yml index 775526b2e..54ff00bee 100644 --- a/.github/workflows/Pipeline.yml +++ b/.github/workflows/Pipeline.yml @@ -41,7 +41,22 @@ jobs: - name: ☑ Run unit tests run: | - python -m pytest -rA tests/unit + python -m pytest -rA --junitxml=TestReport.xml tests/unit + + - name: 📤 Upload 'TestReport.xml' artifact + uses: actions/upload-artifact@v2 + with: + name: TestReport-${{ env.PYTHON }} + path: TestReport.xml + if-no-files-found: error + retention-days: 1 + + - name: 📊 Publish Unit Test Results + uses: EnricoMi/publish-unit-test-result-action@v1 + if: always() + with: + files: TestReport.xml + comment_title: Unit Test Results (Python ${{ env.PYTHON }}) Coverage: name: 📈 Collect Coverage Data using Python 3.9 @@ -297,7 +312,7 @@ jobs: RUN apk add -U --no-cache graphviz EOF - - name: 🛳️ Build documentation from './pyVHDLModel/doc' and publish to GitHub Pages + - name: 🛳️ Build documentation using container vhdl/doc and publish to GitHub Pages uses: buildthedocs/btd@v0 with: token: ${{ github.token }} diff --git a/doc/Glossary.rst b/doc/Glossary.rst index 505ec5ad1..65f0ad56d 100644 --- a/doc/Glossary.rst +++ b/doc/Glossary.rst @@ -6,8 +6,11 @@ Glossary LRM IEEE Standard for VHDL Language Reference Manual - * IEEE Std. 1076-1987 - * IEEE Std. 1076-1993 - * IEEE Std. 1076-2002 - * IEEE Std. 1076-2008 - https://standards.ieee.org/standard/1076-2008.html - * IEEE Std. 1076-2019 - https://standards.ieee.org/standard/1076-2019.html + * `1076-2019 `__. + * `1076-2008 `__ aka IEC 61691-1-1:2011. + * `1076-2002 `__ aka IEC 61691-1-1 Ed.1 (2004-10). + * `1076-2000 `__. + * `1076-1993 `__. + * `1076-1987 `__. + + See :ref:`VASG:About:Standards` for further details. diff --git a/doc/conf.py b/doc/conf.py index cf691865e..6085ac67e 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -37,7 +37,7 @@ def _LatestTagName(): # The full version, including alpha/beta/rc tags version = "0.13" # The short X.Y version. -release = "0.13.1" # The full version, including alpha/beta/rc tags. +release = "0.13.2" # The full version, including alpha/beta/rc tags. try: if _IsUnderGitControl: latestTagName = _LatestTagName()[1:] # remove prefix "v" @@ -211,7 +211,8 @@ def _LatestTagName(): # Sphinx.Ext.InterSphinx # ============================================================================== intersphinx_mapping = { - 'python': ('https://docs.python.org/3', None), + 'python': ('https://docs.python.org/3', None), + 'vasg': ('https://IEEE-P1076.gitlab.io/', None), } diff --git a/pyVHDLModel/__init__.py b/pyVHDLModel/__init__.py index 1a52087fd..e475aefad 100644 --- a/pyVHDLModel/__init__.py +++ b/pyVHDLModel/__init__.py @@ -46,7 +46,7 @@ from pydecor import export -__version__ = "0.13.1" +__version__ = "0.13.2" SimpleOrAttribute = Union['SimpleName', 'AttributeName'] @@ -99,6 +99,7 @@ class VHDLVersion(Enum): This enumeration supports compare operators. """ + Any = -1 VHDL87 = 87 VHDL93 = 93 VHDL2002 = 2002 @@ -116,6 +117,7 @@ class VHDLVersion(Enum): 2002: VHDL2002, 2008: VHDL2008, 2019: VHDL2019, + "Any": Any, "87": VHDL87, "93": VHDL93, "02": VHDL2002, diff --git a/setup.py b/setup.py index 1a8928301..95047424b 100644 --- a/setup.py +++ b/setup.py @@ -53,7 +53,7 @@ # Assemble all package information setuptools_setup( name=projectName, - version="0.13.1", + version="0.13.2", author="Patrick Lehmann", author_email="Paebbels@gmail.com",