Skip to content

Commit

Permalink
Merge pull request #143 from Arquisoft/service_question_generator
Browse files Browse the repository at this point in the history
Service question generator tests
  • Loading branch information
AbelMH1 authored May 2, 2024
2 parents 8d7dca0 + e269505 commit 2b489b2
Show file tree
Hide file tree
Showing 8 changed files with 4,321 additions and 1,028 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
- run: npm --prefix gameservice test -- --coverage
- run: npm --prefix apisgatewayservice test -- --coverage
- run: npm --prefix questionsservice/questiongeneratorservice test -- --coverage
# - run: npm --prefix questionsservice/wikidataExtractor test -- --coverage
- run: npm --prefix questionsservice/wikidataExtractor test -- --coverage

- name: Analyze with SonarCloud
uses: sonarsource/sonarcloud-github-action@master
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- run: npm --prefix gameservice test -- --coverage
- run: npm --prefix apisgatewayservice test -- --coverage
- run: npm --prefix questionsservice/questiongeneratorservice test -- --coverage
# - run: npm --prefix questionsservice/wikidataExtractor test -- --coverage
- run: npm --prefix questionsservice/wikidataExtractor test -- --coverage

- name: Analyze with SonarCloud
uses: sonarsource/sonarcloud-github-action@master
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const cors = require('cors');
const axios = require('axios');
const mongooseUri = (process.env.DATAMODELS_URI === undefined) ? '../node_modules/mongoose' : 'mongoose';
const mongoose = require(mongooseUri);
const { QuestionGenerator } = require('./questiongenerator')
const { QuestionGenerator } = require('./questiongenerator');

const app = express();
const port = 8007;
Expand Down
Loading

0 comments on commit 2b489b2

Please sign in to comment.