Skip to content

Commit

Permalink
add optional test settings, remove unneeded folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ligerlac committed Jul 28, 2023
1 parent 6bf9d9d commit 994792f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/backend-client-functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
run: |
cd nopayloaddb/
docker-compose up --build -d
docker-compose logs -f &
- name: Check out client-side repository
uses: actions/checkout@v3
Expand Down
Empty file.
3 changes: 3 additions & 0 deletions nopayloaddb/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@
'class': 'logging.FileHandler',
'filename': '{}/django-{}.log'.format(LOGPATH, HOSTNAME),
},
'console': {
'class': 'logging.StreamHandler',
}
},
'loggers': {
'django': {
Expand Down
3 changes: 3 additions & 0 deletions nopayloaddb/test_settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .settings import *

LOGGING['loggers']['django']['handlers'].append('console')

0 comments on commit 994792f

Please sign in to comment.