Skip to content

Commit fbffa1d

Browse files
committed
[add] Included coverage info
1 parent afc5ec1 commit fbffa1d

File tree

4 files changed

+123
-11
lines changed

4 files changed

+123
-11
lines changed

Readme.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2+
[![codecov](https://codecov.io/gh/filipecosta90/redis-benchmarks-specification/branch/master/graph/badge.svg)](https://codecov.io/filipecosta90/redis-benchmarks-specification)
3+
![Actions](https://github.com/filipecosta90/redis-benchmarks-specification/workflows/Run%20Tests/badge.svg?branch=master)
4+
![Actions](https://badge.fury.io/py/redis-benchmarks-specification.svg)
5+
6+
17
## Benchmark specifications goal
28

39
The Redis benchmarks specification describes the cross-language/tools requirements and expectations to foster performance and observability standards around redis related technologies.
@@ -6,7 +12,7 @@ Members from both industry and academia, including organizations and individuals
612

713
Currently, the following members actively support this project:
814

9-
- [Redis Labs](https://redislabs.com/): providing steady-stable infrastructure platform to run the benchmark suite. Supporting the active development of this project within the company.
15+
- [Redis](https://redis.com/): providing steady-stable infrastructure platform to run the benchmark suite. Supporting the active development of this project within the company.
1016

1117

1218
## Scope

poetry.lock

Lines changed: 112 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ PyYAML = "^5.4.1"
1717
docker = "^5.0.0"
1818
redisbench-admin = "^0.4.8"
1919
psutil = "^5.8.0"
20+
pytest-cov = "^2.12.1"
21+
codecov = "^2.1.12"
2022

2123
[tool.poetry.dev-dependencies]
2224
pytest = "^5.2"

redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,8 @@ def get_benchmark_specs(testsuites_folder):
399399

400400
def extract_build_info_from_streamdata(testDetails):
401401
git_hash = testDetails[b"git_hash"]
402+
if type(git_hash) == bytes:
403+
git_hash = git_hash.decode()
402404
logging.info("Received commit hash specifier {}.".format(git_hash))
403405
build_artifacts_str = "redis-server"
404406
build_image = testDetails[b"build_image"].decode()

0 commit comments

Comments
 (0)