Skip to content

Commit

Permalink
v9.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
GitRon committed Dec 1, 2023
1 parent abfcc84 commit 5a6fb41
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

**9.3.2** (2023-12-01)
* Handled NullPointer in GitLab coverage script

**9.3.1** (2023-11-27)
* Fixed wrong path in validator documentation
* Added missing German translation
Expand Down
2 changes: 1 addition & 1 deletion ambient_toolbox/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Python toolbox of Ambient Digital containing an abundance of useful tools and gadgets."""

__version__ = "9.3.1"
__version__ = "9.3.2"
4 changes: 2 additions & 2 deletions ambient_toolbox/gitlab/coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ def get_coverage_from_pipeline(self, pipeline_id: int, job_name: str) -> (float,
job_response.content.decode("utf-8"),
re.DOTALL | re.MULTILINE,
)
# print(job_log.group())
job_log_group = job_log.group() if job_log else None

return coverage_job["coverage"] if coverage_job else 0.0, coverages_total, job_log.group()
return coverage_job["coverage"] if coverage_job else 0.0, coverages_total, job_log_group

@staticmethod
def color_text(sign: int, prefix: str, target: float, current: float, diff: float):
Expand Down

0 comments on commit 5a6fb41

Please sign in to comment.