Jaypore CI

> Jaypore CI: Minimal, Offline, Local CI system.
Log | Files | Refs | README

commit 58c9aaaa9ecc3d9cbe45efcc5befeab63ed1d0de
parent a32058d0695ecb1a27642ab5aa7cd7438cb1474b
Author: arjoonn <arjoonn@noreply.localhost>
Date:   Wed, 22 Feb 2023 06:44:23 +0000

Show version while publishing to pypi (!46)

Branch auto created by JayporeCI

```jayporeci
╔ 🟢 : JayporeCI       [sha d253616b42]
┏━ build_and_test
┃
┃ 🟢 : JciEnv          [57bbe874]   0:21
┃ 🟢 : Jci             [a819f7e9]   0: 6            ❮-- ['JciEnv']
┃ 🟢 : black           [5a50d229]   0: 0            ❮-- ['JciEnv']
┃ 🟢 : pylint          [12f552c5]   0: 8            ❮-- ['JciEnv']
┃ 🟢 : pytest          [8e8ca77a]   1:24 Cov: 81%   ❮-- ['JciEnv']
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
┏━ Publish
┃
┃ 🟢 : DockerHubJci    [df339b04]   0:45
┃ 🟢 : DockerHubJcienv [89352576]   0:39
┃ 🟢 : PublishDocs     [560fc050]   0:16
┃ 🟢 : PublishPypi     [8db88ae1]   0: 6 v0.2.14
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
```

Co-authored-by: arjoonn sharma <arjoonn@midpathsoftware.com>
Reviewed-on: https://gitea.midpathsoftware.com/midpath/jaypore_ci/pulls/46

Diffstat:
Mcicd/build_and_push_pypi.sh | 1+
Mcicd/run_tests.sh | 2+-
Mjaypore_ci/reporters/text.py | 2+-
Mpyproject.toml | 2+-
4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/cicd/build_and_push_pypi.sh b/cicd/build_and_push_pypi.sh @@ -5,6 +5,7 @@ set -o nounset set -o pipefail main() { + echo "v$(poetry version | awk '{print $2}')" > "/jaypore_ci/run/PublishPypi.txt" poetry build poetry config pypi-token.pypi $PYPI_TOKEN poetry publish diff --git a/cicd/run_tests.sh b/cicd/run_tests.sh @@ -9,7 +9,7 @@ main() { python -m coverage run --branch --source=. -m pytest -vv coverage html coverage report - echo "$(coverage report --format=total)%" > "/jaypore_ci/run/pytest.txt" + echo "Cov: $(coverage report --format=total)%" > "/jaypore_ci/run/pytest.txt" } (main) diff --git a/jaypore_ci/reporters/text.py b/jaypore_ci/reporters/text.py @@ -39,7 +39,7 @@ class Text(Reporter): """ max_name = max(len(job.name) for job in pipeline.jobs.values()) max_name = max(max_name, len("jayporeci")) - max_report = 5 + max_report = 10 name = ("JayporeCI" + " " * max_name)[:max_name] graph = [ "", diff --git a/pyproject.toml b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "jaypore_ci" -version = "0.2.12" +version = "0.2.14" description = "" authors = ["arjoonn sharma <arjoonn.94@gmail.com>"]