From eca54b8c1a8633ae944d34fdfba69468538c198b Mon Sep 17 00:00:00 2001 From: Levent Yalcin Date: Tue, 4 Aug 2026 14:35:42 +0100 Subject: [PATCH] fix(ci): extend bats TAP count mismatch fix to macOS f3aaf30f fixed --tap + --jobs causing bats to declare a test plan it can't fulfil on Linux by forcing TEST_JOBS=1. The macOS job was left on TEST_JOBS=detect with GNU parallel explicitly installed, hitting the same mismatch and exiting with code 1 despite all tests passing. Remove the parallel install step and apply TEST_JOBS=1 unconditionally. --- .github/workflows/ci.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ae8ea932e..7e9bb01cad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,17 +20,11 @@ jobs: - name: Install greadlink if: startsWith(runner.os, 'macOS') run: brew install coreutils - - name: Install parallel - if: startsWith(runner.os, 'macOS') - run: | - brew install parallel - which parallel # Verify installation - name: Test code run: test/run env: - # Ubuntu runners ship GNU parallel, causing --tap + --jobs count mismatches. - # Force single-threaded on Linux; let macOS use parallel (installed above). - TEST_JOBS: ${{ runner.os == 'Linux' && '1' || 'detect' }} + # --tap + --jobs causes TAP plan count mismatches on both Linux and macOS. + TEST_JOBS: 1 build-docs: runs-on: ubuntu-latest