Use helper to close connection
[e-mobility-charging-stations-simulator.git] / .github / workflows / ci.yml
index 09513c93aed1463f7ea1269f658e271bde15c2d9..547c24ec49c787f76ff0224c4f0d3745e47c6eaf 100644 (file)
@@ -30,9 +30,10 @@ jobs:
       - name: npm test
         run: npm test
       - name: npm run coverage
+        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/emobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'"
+        if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'"
         uses: sonarsource/sonarcloud-github-action@master
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any