Skip to content

Commit

Permalink
Merge pull request #6 from Endava/feature/add-sonar-coverage-support
Browse files Browse the repository at this point in the history
Added jest coverage job
  • Loading branch information
jcendava authored Jun 7, 2024
2 parents 31d544d + 7b08073 commit ac0fb64
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ac0fb64

Please sign in to comment.