Skip to content

Commit

Permalink
Mention version and coverage in docs (!47)
Browse files Browse the repository at this point in the history
Branch auto created by JayporeCI

```jayporeci
╔ 🟡 : JayporeCI       [sha d049138]
┏━ build_and_test
┃
┃ 🟢 : JciEnv          [7b2ff94a]   0: 2
┃ 🟢 : Jci             [c9729241]   0: 6            ❮-- ['JciEnv']
┃ 🟢 : black           [664d4593]   0: 0            ❮-- ['JciEnv']
┃ 🟢 : pylint          [46a4e992]   0: 7            ❮-- ['JciEnv']
┃ 🟢 : pytest          [b9af077f]   1:18 Cov: 81%   ❮-- ['JciEnv']
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
┏━ Publish
┃
┃ 🔵 : DockerHubJci    [e9629d5f]   0:19
┃ 🟢 : DockerHubJcienv [b0085174]   0:11
┃ 🔵 : PublishDocs     [618e30ab]   0:16
┃ 🔴 : PublishPypi     [25579b49]   0: 4 v0.2.18
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
```

Co-authored-by: arjoonn sharma <[email protected]>
Reviewed-on: https://gitea.midpathsoftware.com/midpath/jaypore_ci/pulls/47
  • Loading branch information
arjoonn and arjoonn-s committed Feb 22, 2023
1 parent 58c9aaa commit 3130241
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Jaypore CI


![JayporeCI](docs/source/_static/logo.png)
# ![JayporeCI](docs/source/_static/logo80.png) Jaypore CI

Documentation is at : https://www.jayporeci.in

Expand Down
4 changes: 4 additions & 0 deletions cicd/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ main() {
coverage html
coverage report
echo "Cov: $(coverage report --format=total)%" > "/jaypore_ci/run/pytest.txt"
# Mark info in jci docs
# .. |Product| replace:: SoftTech Analyzer
echo -e "\n.. |coverage| replace:: $(coverage report --format=total)%\n" >> "/jaypore_ci/run/docs/source/index.rst"
echo -e "\n.. |package_version| replace:: $(poetry version | awk '{print $2}')\n" >> "/jaypore_ci/run/docs/source/index.rst"
}

(main)
Expand Down
Binary file added docs/source/_static/logo80.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 10 additions & 3 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Jaypore CI
==========
|logo|
======

- **Jaypore CI** is a *small*, *very flexible*, and *powerful* system for automation within software projects.
- Coverage : |coverage|
- Version : |package_version| on `PyPi <https://pypi.org/project/jaypore-ci/>`_

**Jaypore CI** is a *small*, *very flexible*, and *powerful* system for automation within software projects.


TLDR
Expand Down Expand Up @@ -388,3 +391,7 @@ Reference

reference/modules.rst

.. |logo| image:: _static/logo80.png
:width: 80
:alt: Jaypore CI logo
:align: middle
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[tool.poetry]
name = "jaypore_ci"
version = "0.2.14"
version = "0.2.18"
description = ""
authors = ["arjoonn sharma <[email protected]>"]
homepage = "https://www.jayporeci.in/"
documentation = "https://www.jayporeci.in/"

[tool.poetry.dependencies]
python = "^3.8"
Expand Down

0 comments on commit 3130241

Please sign in to comment.