Skip to content

Commit 43d80f5

Browse files
committed
Update workflow to use the updated env vars
1 parent 6f5a8b8 commit 43d80f5

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/run-python-tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,13 @@ jobs:
107107
working-directory: mflix/server/python-fastapi
108108
run: pytest -m unit --verbose --tb=short --junit-xml=test-results-unit.xml
109109
env:
110-
MONGO_URI: mongodb://localhost:27017
111-
MONGO_DB: sample_mflix
110+
MONGODB_URI: mongodb://localhost:27017
112111

113112
- name: Run integration tests
114113
working-directory: mflix/server/python-fastapi
115114
run: pytest -m integration --verbose --tb=short --junit-xml=test-results-integration.xml
116115
env:
117-
MONGO_URI: mongodb://localhost:27017/?directConnection=true
118-
MONGO_DB: sample_mflix
116+
MONGODB_URI: mongodb://localhost:27017/?directConnection=true
119117

120118
- name: Upload test results
121119
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)