Skip to content

Commit

Permalink
fix(ci): broken ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
shihabmridha committed Aug 19, 2023
1 parent dbb966c commit 4268cdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ steps:
npm install
displayName: 'Installing dependencies'
- script: NODE_ENV=$(NODE_ENV) DB_PWD=$(DB_PASSWORD) DB_USER=$(DB_USERNAME) DB_HOST=$(DB_HOST) DB_NAME=$(DB_NAME) MONGO_PROTOCOL=mongodb+srv npm run test
- script: NODE_ENV=$(NODE_ENV) DATABASE_PASSWORD=$(DB_PASSWORD) DATABASE_USER=$(DB_USERNAME) DATABASE_HOST=$(DB_HOST) DATABASE_NAME=$(DB_NAME) MONGO_PROTOCOL=mongodb+srv npm run test
displayName: 'Running tests'

- task: PublishTestResults@2
Expand All @@ -20,7 +20,7 @@ steps:
testRunner: JUnit
testResultsFiles: '**/test-report.xml'

- script: NODE_ENV=$(NODE_ENV) DB_PWD=$(DB_PASSWORD) DB_USER=$(DB_USERNAME) DB_HOST=$(DB_HOST) DB_NAME=$(DB_NAME) MONGO_PROTOCOL=mongodb+srv npm run test:cov
- script: NODE_ENV=$(NODE_ENV) DATABASE_PASSWORD=$(DB_PASSWORD) DATABASE_USER=$(DB_USERNAME) DATABASE_HOST=$(DB_HOST) DATABASE_NAME=$(DB_NAME) MONGO_PROTOCOL=mongodb+srv npm run test:cov
displayName: 'Running test coverage'
condition: succeededOrFailed()

Expand Down

0 comments on commit 4268cdc

Please sign in to comment.