Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/pull_request_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion executor/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion executor/executor.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#define PY_SSIZE_T_CLEAN
#include <arpa/inet.h> //for networking
#include <pthread.h> //for POSIX threads
#include <python3.10/Python.h> // For Python's C API
#include <python3.12/Python.h> // For Python's C API
#include <signal.h> // Used to handle SIGTERM, SIGINT, SIGKILL
#include <stdint.h> //for standard int types
#include <stdio.h> //for i/o
Expand Down
3 changes: 2 additions & 1 deletion tests/integration/tc_71_2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down