From bb5da1c15c15a54fc209e2e91488ce04366d5c17 Mon Sep 17 00:00:00 2001 From: Aire-One Date: Sun, 21 Dec 2025 04:16:14 +0000 Subject: [PATCH] fix(ci): force examples sequential run for luacov --- .github/workflows/main.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0202a0986e..10ed227f84 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -319,9 +319,16 @@ jobs: - name: Run unit tests run: cd "${{ github.workspace }}/build" && make check-unit - - name: Run examples tests + - name: Run examples tests (non-coverage) + if: matrix.coverage != 'codecov' run: cd "${{ github.workspace }}/build" && make check-examples -j24 + # Parallel tests interfere with coverage collection. All processes write + # to the same luacov.stats.out file, corrupting it. + - name: Run examples tests (with coverage) + if: matrix.coverage == 'codecov' + run: cd "${{ github.workspace }}/build" && make check-examples + - name: Run requires tests if: matrix.coverage run: cd "${{ github.workspace }}/build" && make check-requires