diff --git a/.env.testing b/.env.testing index bfcf91b6..aa664bda 100644 --- a/.env.testing +++ b/.env.testing @@ -5,7 +5,7 @@ DB_PORT=5432 DB_NAME=term_db DB_USER=sadilar DB_PASSWORD=sadilar -LOGGING_FILE=logs/debug.log +LOGGING_FILE=debug.log LOGGING_HANDLERS_LEVEL=INFO LOGGING_LOGGERS_LEVEL=INFO LOGGING_LOGGERS_DJANGO_LEVEL=INFO diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 2bae7f2c..f96acce0 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -14,16 +14,13 @@ jobs: run: | cd app/ ruff format . - - name: create logging folder + - name: Create logging folder run: | - cd / - mkdir -p logging - ls -la + sudo mkdir -p /logging + sudo chown runner:runner /logging - name: Run Tests run: | cp .env.testing app/.env cd app/ mkdir -p static_files - ls -la - -# python manage.py test + python manage.py test