Skip to content

Commit

Permalink
v0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels authored Sep 25, 2021
2 parents d347bbc + 0394692 commit 840875a
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 34 deletions.
62 changes: 34 additions & 28 deletions .github/workflows/Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
files: TestReport.xml
comment_title: Unit Test Results (Python ${{ env.PYTHON }})


Coverage:
name: 📈 Collect Coverage Data using Python 3.9
runs-on: ubuntu-latest
Expand Down Expand Up @@ -105,6 +106,7 @@ jobs:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: ./coverage.xml


Release:
name: 📝 Create 'Release Page' on GitHub
runs-on: ubuntu-latest
Expand Down Expand Up @@ -157,6 +159,7 @@ jobs:
draft: false
prerelease: false


Package:
name: 📦 Package in Wheel Format
runs-on: ubuntu-latest
Expand Down Expand Up @@ -202,6 +205,7 @@ jobs:
if-no-files-found: error
retention-days: 1


PublishOnPyPI:
name: 🚀 Publish to PyPI
runs-on: ubuntu-latest
Expand Down Expand Up @@ -241,6 +245,7 @@ jobs:
run: |
twine upload dist/*
# VerifyDocs:
# name: 👍 Verify example snippets using Python 3.9
# runs-on: ubuntu-latest
Expand Down Expand Up @@ -294,34 +299,35 @@ jobs:
# python3 example.py


# BuildTheDocs:
# name: 📓 Run BuildTheDocs and publish to GH-Pages
# runs-on: ubuntu-latest
#
## needs:
## - VerifyDocs
#
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2
#
# - name: 🚢 Build container image 'vhdl/doc'
# run: |
# docker build -t vhdl/doc - <<-EOF
# FROM btdi/sphinx:featured
# RUN apk add -U --no-cache graphviz
# EOF
#
# - name: 🛳️ Build documentation from './pySystemVerilogModel/doc' and publish to GitHub Pages
# uses: buildthedocs/btd@v0
# with:
# token: ${{ github.token }}
#
# - name: 📤 Upload artifacts
# uses: actions/upload-artifact@master
# with:
# name: doc
# path: doc/_build/html
BuildTheDocs:
name: 📓 Run BuildTheDocs and publish to GH-Pages
runs-on: ubuntu-latest

# needs:
# - VerifyDocs

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: 🚢 Build container image 'vhdl/doc'
run: |
docker build -t vhdl/doc - <<-EOF
FROM btdi/sphinx:featured
RUN apk add -U --no-cache graphviz
EOF
- name: 🛳️ Build documentation from './pySystemVerilogModel/doc' and publish to GitHub Pages
uses: buildthedocs/btd@v0
with:
token: ${{ github.token }}

- name: 📤 Upload artifacts
uses: actions/upload-artifact@master
with:
name: doc
path: doc/_build/html


ArtifactCleanUp:
name: 🗑️ Artifact Cleanup
Expand Down
2 changes: 1 addition & 1 deletion doc/Dependency.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Dependency
.. |img-pySVModel-req-status| image:: https://img.shields.io/requires/github/edaa-org/pySystemVerilogModel
:alt: Requires.io
:height: 22
:target: https://requires.io/github/edaa-org/pySystemVerilogModel/requirements/?branch=master
:target: https://requires.io/github/edaa-org/pySystemVerilogModel/requirements/?branch=main

+------------------------------------------+------------------------------------------+
| `Libraries.io <https://libraries.io/>`_ | `Requires.io <https://requires.io/>`_ |
Expand Down
28 changes: 28 additions & 0 deletions doc/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
CP=cp

# Sphinx options.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build

PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees -T -D language=en $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .

all: html latex

#---

man:
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man

#---

html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html

#---

latex:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
6 changes: 3 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def _LatestTagName():

# The full version, including alpha/beta/rc tags
version = "0.1" # The short X.Y version.
release = "0.1.1" # The full version, including alpha/beta/rc tags.
release = "0.1.2" # The full version, including alpha/beta/rc tags.
try:
if _IsUnderGitControl:
latestTagName = _LatestTagName()[1:] # remove prefix "v"
Expand Down Expand Up @@ -224,8 +224,8 @@ def _LatestTagName():
extlinks = {
'issue': ('https://github.com/edaa-org/pySystemVerilogModel/issues/%s', 'issue #'),
'pull': ('https://github.com/edaa-org/pySystemVerilogModel/pull/%s', 'pull request #'),
'src': ('https://github.com/edaa-org/pySystemVerilogModel/blob/master/pySystemVerilogModel/%s?ts=2', None),
# 'test': ('https://github.com/edaa-org/pySystemVerilogModel/blob/master/test/%s?ts=2', None)
'src': ('https://github.com/edaa-org/pySystemVerilogModel/blob/main/pySystemVerilogModel/%s?ts=2', None),
# 'test': ('https://github.com/edaa-org/pySystemVerilogModel/blob/main/test/%s?ts=2', None)
}


Expand Down
2 changes: 1 addition & 1 deletion pySystemVerilogModel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
from pydecor import export


__version__ = "0.1.1"
__version__ = "0.1.2"


@export
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
# Assemble all package information
setuptools_setup(
name=projectName,
version="0.1.1",
version="0.1.2",

author="Patrick Lehmann",
author_email="[email protected]",
Expand Down

0 comments on commit 840875a

Please sign in to comment.