From e80a645ed358593f33cb16ceacb75e3a1c321d7d Mon Sep 17 00:00:00 2001 From: stadlero <47506268+stadlero@users.noreply.github.com> Date: Mon, 3 Nov 2025 22:14:11 +0100 Subject: [PATCH 1/3] buffer: Fix csp_buffer_get_always not found PR #872 made csp_buffer_get_always an internal function. This commit adds a forward declaration of the function in the test file to still be able to test it. --- src/buffer.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/buffer.c b/src/buffer.c index 1c60d70..c172e83 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -7,6 +7,12 @@ #include #include +/* csp_buffer_get_always() is now an internal function + * and not exposed in the public API, so we need to + * declare it here for testing purposes. + */ +csp_packet_t * csp_buffer_get_always(void); + static void *setup(void) { csp_init(); From add0491c45abfd65318cbd7f99cf0e57cd35d9c3 Mon Sep 17 00:00:00 2001 From: stadlero <47506268+stadlero@users.noreply.github.com> Date: Mon, 3 Nov 2025 22:06:15 +0100 Subject: [PATCH 2/3] github: workflow: test: Pin Python version to 3.11 Set the Python version explicitly instead of relying on the default version provided by the runner. This ensures that the Python version is supported by Zephyr (at least for now). Some windows runners are stuck at Python 3.9 --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index af9003b..b89bf27 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,11 @@ jobs: fail-fast: false steps: + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + - name: Python version run: | python3 --version From 74960219fa0b8ffd4cede7061d3182aebf946efb Mon Sep 17 00:00:00 2001 From: stadlero <47506268+stadlero@users.noreply.github.com> Date: Mon, 3 Nov 2025 22:06:52 +0100 Subject: [PATCH 3/3] github: workflow: test: Run on Windows Added windows-latest to the OS matrix. --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b89bf27..95a903a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,10 +4,11 @@ on: [push, pull_request] jobs: build-test: - runs-on: - - ubuntu-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false + matrix: + os: [ubuntu-latest, windows-latest] steps: - name: Setup Python