From 7518fc9f97869dadaad4aa5de3c7f2bd9789d691 Mon Sep 17 00:00:00 2001 From: Niall Farrell Date: Wed, 20 Sep 2023 17:06:06 +0100 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6bdc328c..daa4d1ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: - name: Build VSIX file run: yarn run build - name: Run Tests - run: xvfb-run -a yarn run test + run: xvfb-run -a yarn run coverage - name: Packaging run: yarn run package - name: Upload artifact @@ -34,6 +34,12 @@ jobs: with: name: KDB-VSCode-Extension path: ./kdb-*vsix + - name: Upload lcov result for app-sec job + uses: actions/upload-artifact@v3 + with: + name: lcov + path: coverage-reports/lcov.info + retention-days: 1 app-sec: runs-on: ubuntu-latest @@ -52,6 +58,11 @@ jobs: - name: Install dependencies run: yarn install + - name: Download lcov result from test job + uses: actions/download-artifact@v3 + with: + name: lcov + - name: SonarCloud Scan uses: sonarsource/sonarqube-scan-action@master env: