From: Jérôme Benoit Date: Sun, 22 Feb 2026 23:30:55 +0000 (+0100) Subject: ci: avoid redundant test runs now that coverage includes build+test X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4b5a8bfba330b14b4d7b57b14f734ceca4c6269e;p=poolifier.git ci: avoid redundant test runs now that coverage includes build+test --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fca23fe4..61f162d87 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index c6e4d3507..40cab2934 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -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