Skip to content

Commit

Permalink
Add .env.testing file for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
raffomania committed Dec 5, 2023
1 parent d1b179d commit b93bb3c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions backend/.env.testing.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copy this file to .env.testing and edit it to match your preferences
# Use it in conjunction with your normal env:
# source .env; source .env.testing
# Before running your tests.
# This way, you can keep only necessary overrides in .env.testing

RAY_ENABLED=False
POSTGRES_DB=dwts-testing

# When running in backend/src, add that folder to the pythonpath
# for pytest to discover some of our packages.
PYTHONPATH=.
1 change: 1 addition & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ backend/logs

# Local configuration
.env
.env.testing

# npm stuff for python readability
src/node_modules
Expand Down

0 comments on commit b93bb3c

Please sign in to comment.