From: Jérôme Benoit Date: Sat, 4 Jun 2022 10:15:09 +0000 (+0200) Subject: Only run GitHub CI code coverage when needed X-Git-Tag: v1.1.61~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=df95459946a2613e7160a193ab50a718b6a20057;p=e-mobility-charging-stations-simulator.git Only run GitHub CI code coverage when needed Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b228e89a..547c24ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: - name: npm test run: npm test - name: npm run coverage - if: "matrix.os != 'windows-latest'" + if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'" run: npm run coverage - name: SonarCloud Scan if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'"