Skip to content

Commit

Permalink
Pre-output url
Browse files Browse the repository at this point in the history
  • Loading branch information
merschformann committed Dec 19, 2024
1 parent 38a70a5 commit b673876
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .nextmv/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def create_test_url(result_id: str) -> str:
Create a URL to the acceptance test result.
"""
if ACCOUNT_ID:
return f"https://cloud.nextmv.io/acc/{ACCOUNT_ID}/app/nextroute-bench/experiments/acceptance/{result_id}"
return f"https://cloud.nextmv.io/acc/{ACCOUNT_ID}/app/nextroute-bench/experiment/acceptance/{result_id}"
return "unavailable"


Expand Down Expand Up @@ -170,7 +170,9 @@ def main():
write_to_summary("# Acceptance Test Report")
write_to_summary("")
write_to_summary(f"ID: {id}")
write_to_summary(f"Link: [link]({create_test_url(id)})")
url = create_test_url(id)
write_to_summary(f"Link: [link]({url})")
print(f"::notice::Acceptance test URL: {url}")

print(f"Running acceptance test with ID: {id}")
print("Waiting for it to complete...")
Expand Down

0 comments on commit b673876

Please sign in to comment.