From 8d811351d997ad62efd628573e7df68cd74b74dd Mon Sep 17 00:00:00 2001 From: VirajP1002 Date: Wed, 31 Jul 2024 15:09:30 +0100 Subject: [PATCH] Allow slack to output new graph --- ci/output-results-to-slack.yaml | 4 ++++ scripts/visualise_results.py | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ci/output-results-to-slack.yaml b/ci/output-results-to-slack.yaml index 72a41d1c..8e4f771a 100644 --- a/ci/output-results-to-slack.yaml +++ b/ci/output-results-to-slack.yaml @@ -55,4 +55,8 @@ run: # Post performance graph to Slack TITLE="Performance Graph" \ ATTACHMENT_FILENAME="performance_graph.png" \ + pipenv run python -m scripts.slack_notification + + TITLE="Additional Metrics Graph" \ + ATTACHMENT_FILENAME="additional_metrics.png" \ pipenv run python -m scripts.slack_notification \ No newline at end of file diff --git a/scripts/visualise_results.py b/scripts/visualise_results.py index f3376ddf..2d7c0f7e 100644 --- a/scripts/visualise_results.py +++ b/scripts/visualise_results.py @@ -34,7 +34,6 @@ def plot_data(df, number_of_days_to_plot): def plot_performance_data(df, number_of_days_to_plot): - print(df) try: plot_data(df, number_of_days_to_plot) @@ -45,7 +44,6 @@ def plot_performance_data(df, number_of_days_to_plot): def plot_additional_metrics(df, number_of_days_to_plot): - print(df) try: plot_data(df, number_of_days_to_plot)