Skip to content

Commit

Permalink
Allow slack to output new graph
Browse files Browse the repository at this point in the history
  • Loading branch information
VirajP1002 committed Jul 31, 2024
1 parent e65f920 commit 8d81135
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ci/output-results-to-slack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions scripts/visualise_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand Down

0 comments on commit 8d81135

Please sign in to comment.