Skip to content

Commit

Permalink
Merge pull request #115 from Arquisoft/104-realizar-pruebas-unitarias…
Browse files Browse the repository at this point in the history
…-de-stats-service

104 realizar pruebas unitarias de stats service
  • Loading branch information
CANCI0 authored Apr 11, 2024
2 parents 962c752 + 17623aa commit 20f97af
Show file tree
Hide file tree
Showing 7 changed files with 4,272 additions and 361 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- run: npm --prefix users/authservice test -- --coverage
- run: npm --prefix users/userservice test -- --coverage
- run: npm --prefix gatewayservice test -- --coverage
- run: npm --prefix statsservice test -- --coverage
- run: npm --prefix webapp test -- --coverage
- name: Analyze with SonarCloud
uses: sonarsource/sonarcloud-github-action@master
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ jobs:
- run: npm --prefix users/userservice ci
- run: npm --prefix gatewayservice ci
- run: npm --prefix webapp ci
- run: npm --prefix statsservice ci
- run: npm --prefix questionservice ci
- run: npm --prefix users/authservice test -- --coverage
- run: npm --prefix users/userservice test -- --coverage
- run: npm --prefix gatewayservice test -- --coverage
- run: npm --prefix statsservice test -- --coverage
- run: npm --prefix webapp test -- --coverage
- name: Analyze with SonarCloud
uses: sonarsource/sonarcloud-github-action@master
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sonar.language=js
sonar.projectName=wiq_es1a

sonar.coverage.exclusions=**/*.test.js
sonar.sources=webapp/src/components,webapp/src/pages,users/authservice,users/userservice,gatewayservice
sonar.sources=webapp/src/components,webapp/src/pages,users/authservice,users/userservice,gatewayservice,statsservice
sonar.sourceEncoding=UTF-8
sonar.exclusions=node_modules/**, webapp/src/components/Background/**
sonar.javascript.lcov.reportPaths=**/coverage/lcov.info
Loading

0 comments on commit 20f97af

Please sign in to comment.