diff --git a/.github/workflows/pull_request_ci.yml b/.github/workflows/pull_request_ci.yml index 69f4d08a..a743dd6f 100644 --- a/.github/workflows/pull_request_ci.yml +++ b/.github/workflows/pull_request_ci.yml @@ -13,6 +13,7 @@ on: types: [opened, synchronize] push: branches: [master] + workflow_dispatch: # Here is the list of jobs that this workflow will run. There is only one job. jobs: diff --git a/executor/Makefile b/executor/Makefile index ec1f2cfe..2065917b 100755 --- a/executor/Makefile +++ b/executor/Makefile @@ -5,7 +5,7 @@ LIBS=-pthread -lrt -Wall -export-dynamic -fPIC SRCS = executor.c gamestate_filter.c ../logger/logger.c ../runtime_util/runtime_util.c ../shm_wrapper/shm_wrapper.c # Python compilation definitions -PY_VER = python3.10 +PY_VER = python3.12 PY_LIB = -l$(PY_VER) CFLAGS = $(shell $(PY_VER)-config --cflags) diff --git a/executor/executor.c b/executor/executor.c index 6415c59e..2075e1c4 100644 --- a/executor/executor.c +++ b/executor/executor.c @@ -1,7 +1,7 @@ #define PY_SSIZE_T_CLEAN #include //for networking #include //for POSIX threads -#include // For Python's C API +#include // For Python's C API #include // Used to handle SIGTERM, SIGINT, SIGKILL #include //for standard int types #include //for i/o diff --git a/tests/integration/tc_71_2.c b/tests/integration/tc_71_2.c index 6a2c6e03..4579c479 100644 --- a/tests/integration/tc_71_2.c +++ b/tests/integration/tc_71_2.c @@ -8,8 +8,9 @@ */ char check_output_6[] = - "line 25, in teleop_main\n" + " File \"/home/runner/work/runtime/runtime/tests/student_code/executor_sanity.py\", line 25, in teleop_main\n" " oops = 1 / 0\n" + " ~~^~~\n" "ZeroDivisionError: division by zero\n"; int main() {