diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 9bbfe0a..59eafd6 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -29,8 +29,8 @@ jobs: - name: Export cov files run: deno coverage cov_profile --lcov --output=cov_profile.lcov - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 + - name: Test and Cov + run: deno test --coverage=.coverage && deno coverage --exclude=fixtures --exclude=test --lcov --output=lcov.info .coverage && deno run --allow-read https://deno.land/x/code_coverage@0.2.1/cli.ts - name: SonarCloud Scan uses: SonarSource/sonarcloud-github-action@master