]> Piment Noir Git Repositories - poolifier.git/commitdiff
ci: avoid redundant test runs now that coverage includes build+test
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 22 Feb 2026 23:30:55 +0000 (00:30 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 22 Feb 2026 23:30:55 +0000 (00:30 +0100)
.github/workflows/ci.yml
.github/workflows/release-please.yml

index 2fca23fe477ee65979e3a0c706a5271f66530a3e..61f162d87aa59d2d78e0b68c73147725abeb5525 100644 (file)
@@ -48,13 +48,14 @@ jobs:
         if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '22.x' }}
         run: pnpm lint
 
+      - name: Tests & Coverage
+        if: ${​{ matrix.os == 'ubuntu-latest' && matrix.node == '22.x' }}
+        run: pnpm coverage
+
       - name: Tests
+        if: ${​{ !(matrix.os == 'ubuntu-latest' && matrix.node == '22.x') }}
         run: pnpm test
 
-      - name: Coverage Report
-        if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '22.x' }}
-        run: pnpm coverage
-
       - name: Check for SonarCloud Token Availability
         id: sonar-token
         shell: bash
index c6e4d3507acbe34f140d5bb988e498714e6ad485..40cab29344659945c161fdab31a4f9f7e1ac307d 100644 (file)
@@ -50,9 +50,7 @@ jobs:
         run: pnpm install --ignore-scripts --frozen-lockfile
 
       - name: Tests & Coverage
-        run: |
-          pnpm test
-          pnpm coverage
+        run: pnpm coverage
 
       - name: Lint
         run: pnpm lint