From 9ef9d1722780faa6b2b5767f52975670ad9fbfe4 Mon Sep 17 00:00:00 2001 From: Daniel Gray Date: Wed, 8 May 2024 11:22:01 +0200 Subject: [PATCH] testing testing testing testing testing cleaned up code clean up code --- .env.testing | 2 +- .github/workflows/testing.yml | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) 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