Skip to content

Commit

Permalink
Added test to the build and release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
AbelMH1 committed May 1, 2024
1 parent 837713d commit 57be1d8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,19 @@ jobs:
- run: npm --prefix userStatsService ci
- run: npm --prefix gameservice ci
- run: npm --prefix apisgatewayservice ci
- run: npm --prefix questionsservice ci
- run: npm --prefix questionsservice/questiongeneratorservice ci
- run: npm --prefix questionsservice/wikidataExtractor ci
- run: npm --prefix users/authservice test -- --coverage
- run: npm --prefix users/userservice test -- --coverage
- run: npm --prefix gatewayservice test -- --coverage
- run: npm --prefix webapp test -- --coverage
- run: npm --prefix storeQuestionService test -- --coverage
- run: npm --prefix userStatsService test -- --coverage
- run: npm --prefix gameservice test -- --coverage
# - run: npm --prefix gameservice test -- --coverage
- run: npm --prefix questionsservice/questiongeneratorservice test -- --coverage
# - run: npm --prefix questionsservice/wikidataExtractor test -- --coverage

- name: Analyze with SonarCloud
uses: sonarsource/sonarcloud-github-action@master
env:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,24 @@ jobs:
- run: npm --prefix users/authservice ci
- run: npm --prefix users/userservice ci
- run: npm --prefix gatewayservice ci
- run: npm --prefix questionsservice/questiongeneratorservice ci
- run: npm --prefix webapp ci
- run: npm --prefix storeQuestionService ci
- run: npm --prefix userStatsService ci
- run: npm --prefix webapp ci
- run: npm --prefix gameservice ci
- run: npm --prefix apisgatewayservice ci
- run: npm --prefix questionsservice ci
- run: npm --prefix questionsservice/questiongeneratorservice ci
- run: npm --prefix questionsservice/wikidataExtractor ci
- run: npm --prefix users/authservice test -- --coverage
- run: npm --prefix users/userservice test -- --coverage
- run: npm --prefix gatewayservice test -- --coverage
- run: npm --prefix webapp test -- --coverage
- run: npm --prefix storeQuestionService test -- --coverage
- run: npm --prefix userStatsService test -- --coverage
- run: npm --prefix gameservice test -- --coverage
- run: npm --prefix questionsservice/questiongeneratorservice test -- --coverage
# - run: npm --prefix questionsservice/wikidataExtractor test -- --coverage


- name: Analyze with SonarCloud
uses: sonarsource/sonarcloud-github-action@master
env:
Expand Down

0 comments on commit 57be1d8

Please sign in to comment.