From 57be1d8669e46aeefbe7861fcca2ba1cd4145a4d Mon Sep 17 00:00:00 2001 From: Abel Date: Wed, 1 May 2024 19:52:46 +0200 Subject: [PATCH] Added test to the build and release workflows --- .github/workflows/build.yml | 7 ++++++- .github/workflows/release.yml | 9 ++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 900f3abf..759a87dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,9 @@ 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 @@ -30,7 +33,9 @@ jobs: - 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: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c3a7cf2..4abb11ed 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,12 +15,14 @@ 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 @@ -28,8 +30,9 @@ jobs: - 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: