From bfd7f49b48d415cd6a945ed0bdc75328ff53aa32 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Tue, 10 Mar 2026 16:54:10 +0100 Subject: [PATCH] Add test job to c-cpp.yml workflow Include unit test execution in C/C++ workflow --- .github/workflows/c-cpp.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 649d930..0fd7ca6 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -122,3 +122,15 @@ jobs: run: | nm pcloudcc | grep 'fuse_loop_mt_31' ldd pcloudcc | grep libfuse3 + + test: + name: Unit Tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential libfuse3-dev libmbedtls-dev libsqlite3-dev libreadline-dev libudev-dev zlib1g-dev + - name: Run tests + run: make test