Skip to content

Commit

Permalink
Merge branch 'main' of github.com:coding-bootcamps-eu/suryia
Browse files Browse the repository at this point in the history
  • Loading branch information
jipsonminibhavan committed Jan 23, 2024
2 parents 543c870 + 06f88ea commit a2ba702
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/full-stack-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
mongodb:
image: mongo:${{ matrix.mongodb-version }}
env:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: admin
MONGO_INITDB_ROOT_USERNAME: ${{ secrets.MONGO_INITDB_ROOT_USERNAME }}
MONGO_INITDB_ROOT_PASSWORD: ${{ secrets.MONGO_INITDB_ROOT_PASSWORD }}
ports:
- 27017:27017
options: >-
Expand All @@ -39,8 +39,8 @@ jobs:
- name: Initialize Database
run: |
cd backend
MONGODB_URI=mongodb://admin:admin@localhost:27017/testdatabase npm run initialize-db
MONGODB_URI=${{ secrets.MONGODB_URI }} npm run initialize-db
- name: Build Backend
run: |
Expand All @@ -60,5 +60,5 @@ jobs:
- name: Run Frontend Tests
run: |
cd frontend
npm run test:e2e:dev
npm run test:e2e
timeout-minutes: 30

0 comments on commit a2ba702

Please sign in to comment.