Skip to content

Commit

Permalink
added coverage functionality to testing
Browse files Browse the repository at this point in the history
  • Loading branch information
hah8236 committed Apr 29, 2024
1 parent 91b03f7 commit e22f46b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion weather-data-collect/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN pip3 install --no-cache-dir -r requirements.txt

COPY . .

ENV OPENWEATHERMAP_API_KEY=API_KEY_HERE
ENV OPENWEATHERMAP_API_KEY=a8fb5351db81858ed5e57093a90b5a5d
ENV MONGODB_URI=mongodb+srv://nameless.wun5lpq.mongodb.net/?authSource=%24external&authMechanism=MONGODB-X509&retryWrites=true&w=majority&appName=Nameless
ENV DB_NAME=Project5
ENV DB_COLLECTION_NAME=WeatherData
Expand Down
1 change: 1 addition & 0 deletions weather-data-collect/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name = "pypi"
[packages]
requests = "*"
pymongo = "*"
coverage = "*"

[dev-packages]

Expand Down
3 changes: 2 additions & 1 deletion weather-data-collect/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
requests
pymongo
flask
flask
coverage

0 comments on commit e22f46b

Please sign in to comment.