Skip to content

Commit

Permalink
Merge pull request #68 from renathossain/fix/tests+gitworkflows
Browse files Browse the repository at this point in the history
Fixing servers running in tests.yaml
  • Loading branch information
Emilyho11 authored Mar 31, 2024
2 parents 5bc72aa + 17c4115 commit 5d99c7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.10.0

- name: Start API gateway
- name: Test backend
run: |
npm run dev
echo "Starting Servers"
node backend\api_gateway\src\index.js
sleep 5
- name: Test unique codes and pdf generation
run: |
echo "Testing unique prescriber codes and pdf generation"
python -m unittest backend/verification_service/test/code_pdf_tests.py
Expand Down
1 change: 0 additions & 1 deletion backend/auth_service/database_Authentications.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,5 @@ def register_service(service_name, service_url):
print("Starting Authentication Service on port", app.config["PORT"])
register_service("authentication-service", f"http://127.0.0.1:{app.config['PORT']}")


if __name__ == "__main__":
app.run(debug=True, port=PORT)

0 comments on commit 5d99c7e

Please sign in to comment.