From 4b5a8bfba330b14b4d7b57b14f734ceca4c6269e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 23 Feb 2026 00:30:55 +0100 Subject: [PATCH] ci: avoid redundant test runs now that coverage includes build+test --- .github/workflows/ci.yml | 9 +++++---- .github/workflows/release-please.yml | 4 +--- 2 files changed, 6 insertions(+), 7 deletions(-) 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 -- 2.43.0