From 0b80ad074e260d94c4efd6b49785b07ae2d69750 Mon Sep 17 00:00:00 2001 From: aitbc1 Date: Sat, 28 Mar 2026 20:00:29 +0100 Subject: [PATCH] Fix missing api_results variable initialization in API performance test --- .gitea/workflows/api-endpoint-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/api-endpoint-tests.yml b/.gitea/workflows/api-endpoint-tests.yml index 706ac49a..c52cddd3 100644 --- a/.gitea/workflows/api-endpoint-tests.yml +++ b/.gitea/workflows/api-endpoint-tests.yml @@ -462,6 +462,8 @@ jobs: echo ' ("Blockchain RPC", "http://localhost:8545")' >> test_api_performance.py echo ' ]' >> test_api_performance.py echo ' ' >> test_api_performance.py + echo ' api_results = {}' >> test_api_performance.py + echo ' ' >> test_api_performance.py echo ' for api_name, api_url in apis:' >> test_api_performance.py echo ' print(f"🧪 Testing {api_name} performance...")' >> test_api_performance.py echo ' ' >> test_api_performance.py