Skip to content

Commit

Permalink
Merge branch 'main' into cli
Browse files Browse the repository at this point in the history
  • Loading branch information
shashank-boyapally authored Feb 2, 2024
2 parents 54cb4c2 + d8f933b commit 6324cbf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ jobs:
- name: Analysing the code with pylint
run: |
pylint -d C0103 $(git ls-files '*.py')
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ Activate Orion's regression detection tool for performance-scale CPT runs effort

Additionally, users can specify a custom path for the output CSV file using the ```--output``` flag, providing control over the location where the generated CSV will be stored.



Orion's seamless integration with metadata and hunter ensures a robust regression detection tool for perf-scale CPT runs.


2 changes: 2 additions & 0 deletions orion.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def orion(config, debug, output,hunter_analyze):
metadata = get_metadata(test, logger)
logger.info("The test %s has started", test["name"])
match = Matcher(index="perf_scale_ci", level=level, ES_URL=ES_URL)

uuids = match.get_uuid_by_metadata(metadata)
if len(uuids) == 0:
print("No UUID present for given metadata")
Expand All @@ -77,6 +78,7 @@ def orion(config, debug, output,hunter_analyze):
lambda left, right: pd.merge(left, right, on="uuid", how="inner"),
dataframe_list,
)

match.save_results(merged_df, csv_file_path=output.split(".")[0]+"-"+test['name']+".csv")

if hunter_analyze:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"""
from setuptools import setup, find_packages


setup(
name='orion',
version='1.0',
Expand Down

0 comments on commit 6324cbf

Please sign in to comment.