From 4c8146463ffe2dbb679ecf67a13ce5068b147fab Mon Sep 17 00:00:00 2001 From: Cterry45 Date: Mon, 29 Jan 2024 10:33:02 +0000 Subject: [PATCH] KXI-33125: Bring inline with app-sec template --- .github/workflows/prod_release.yml | 10 ++++++++-- .github/workflows/release.yml | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prod_release.yml b/.github/workflows/prod_release.yml index babb7dea..40b6742e 100644 --- a/.github/workflows/prod_release.yml +++ b/.github/workflows/prod_release.yml @@ -25,7 +25,7 @@ jobs: - name: Build VSIX file run: npm run build - name: Run Tests - run: xvfb-run -a npm run test + run: xvfb-run -a npm run coverage - name: Packaging run: npm run package - name: Upload artifact @@ -33,7 +33,13 @@ jobs: with: name: KDB-VSCode-Extension path: ./kdb-*vsix - retention_days: 1 + retention-days: 1 + - 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: needs: build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f6f6f33b..b8ac6abd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: with: name: KDB-VSCode-Extension path: ./kdb-*vsix - retention_days: 1 + retention-days: 1 - name: Upload lcov result for app-sec job uses: actions/upload-artifact@v3 with: