diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 30ac108..5e59db0 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -39,9 +39,22 @@ permissions: pull-requests: read # allows SonarCloud to decorate PRs with analysis results jobs: - Analysis: + + Test Coverage: + name: SonarCloud runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Install dependencies + run: npm + - name: Test and coverage + run: npm run coverage + Analysis: + name: SonarCloud Analysis + runs-on: ubuntu-latest steps: - name: Analyze with SonarCloud