diff --git a/.github/workflows/pdr_plugin_ci_workflow.yml b/.github/workflows/pdr_plugin_ci_workflow.yml index 84a079d73..99b37f9cf 100644 --- a/.github/workflows/pdr_plugin_ci_workflow.yml +++ b/.github/workflows/pdr_plugin_ci_workflow.yml @@ -33,7 +33,7 @@ jobs: run: | sudo bash plugins/pdr_deterministic_plugin/.pytest/run_pdr_standalone_pytest.sh 2>/dev/null echo "Starting simulated test" - python plugins/pdr_deterministic_plugin/tests/simulation_telemetry.py 3>&1 + sudo python plugins/pdr_deterministic_plugin/tests/simulation_telemetry.py echo "Terminating standalone PDR process" pkill -9 -f isolation_algo.py 2>/dev/null || true diff --git a/plugins/pdr_deterministic_plugin/.pytest/run_pdr_standalone_pytest.sh b/plugins/pdr_deterministic_plugin/.pytest/run_pdr_standalone_pytest.sh index d8f186960..62263b768 100644 --- a/plugins/pdr_deterministic_plugin/.pytest/run_pdr_standalone_pytest.sh +++ b/plugins/pdr_deterministic_plugin/.pytest/run_pdr_standalone_pytest.sh @@ -1,5 +1,5 @@ #!/bin/bash -x - +# PLUGIN_DIR="plugins/pdr_deterministic_plugin" pip install -r $PLUGIN_DIR/requirements.txt