API: test action

This commit is contained in:
Adam Wilson
2025-05-20 10:17:09 -06:00
parent 1e7890b007
commit 9281bbd2f0
2 changed files with 3 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ set -e # Exit on error
cd $GITHUB_WORKSPACE
echo "Starting API server with logging..."
nohup python -m src.api.server > logs/api.log 2>&1 &
nohup uvicorn src.api.http_api:app --host 0.0.0.0 --port 9999 > logs/api.log 2>&1 &
API_PID=$!
echo "API server started with PID: $API_PID"

View File

@@ -60,6 +60,7 @@ jobs:
- name: 'Run test API request'
run: ${{ github.workspace }}/.github/scripts/test_api.sh
if: false
- name: 'Start system monitoring'
run: ${{ github.workspace }}/.github/scripts/start_monitoring.sh &
@@ -73,6 +74,7 @@ jobs:
env:
WORKSPACE: ${{ github.workspace }}
GITHUB_ENV: $GITHUB_ENV
if: false
# Add error analysis step
- name: 'Analyze errors and create report'