diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 64b87c0..4e7a6a7 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - name: Verify Python Syntax run: | - python3 -m py_compile Server.py Win_Client.py Linux_Client.py package_dist.py upload_release.py test_pipeline.py tests/*.py + python3 -m py_compile src/Server.py src/Win_Client.py src/Linux_Client.py package_dist.py upload_release.py test_pipeline.py tests/*.py - name: Run Component Unit Tests run: | @@ -40,10 +40,10 @@ jobs: rm -f server_config.json client_config.json logar_state.db client_state.json # 1. Initialize server config and export client configuration - python3 Server.py --create-client-config --server-host 127.0.0.1 --server-port 9443 --client-out client_config.json + python3 src/Server.py --create-client-config --server-host 127.0.0.1 --server-port 9443 --client-out client_config.json # 2. Launch LOGAR server in the background - python3 Server.py & + python3 src/Server.py & SERVER_PID=$! echo "[*] Server launched in background with PID $SERVER_PID"