From a971549865aab329dd525eb9061af9bc0c61c504 Mon Sep 17 00:00:00 2001
From: djeck1432 <oleh.kostashchuk@gmail.com>
Date: Tue, 26 Nov 2024 19:23:31 +0100
Subject: [PATCH] fix path

---
 .github/workflows/wep_app_ci.yml | 10 +++++-----
 apps/web_app/.env.test           | 10 ----------
 2 files changed, 5 insertions(+), 15 deletions(-)
 delete mode 100644 apps/web_app/.env.test

diff --git a/.github/workflows/wep_app_ci.yml b/.github/workflows/wep_app_ci.yml
index 8c2a6d96..3280f12c 100644
--- a/.github/workflows/wep_app_ci.yml
+++ b/.github/workflows/wep_app_ci.yml
@@ -26,7 +26,10 @@ jobs:
         uses: actions/setup-python@v4
         with:
           python-version: '3.11'
-    
+
+      - name: Go to Web_App directory
+        run: cd apps/web_app
+
       - name: Install Poetry
         run: |
           curl -sSL https://install.python-poetry.org | python3 -
@@ -39,13 +42,10 @@ jobs:
           poetry lock --no-update
           poetry install
 
-      - name: Create .env file
-        run: cp .env.dev .env
-
       - name: Run Tests for Web_App
         working-directory: ./apps/web_app
         run: |
-          cp .env.test .env
+          cp .env.dev .env
           poetry run pytest --junitxml=results.xml
     
       - name: Upload Test Results
diff --git a/apps/web_app/.env.test b/apps/web_app/.env.test
deleted file mode 100644
index 82043795..00000000
--- a/apps/web_app/.env.test
+++ /dev/null
@@ -1,10 +0,0 @@
-DB_NAME=#
-DB_USER=#
-DB_PASSWORD=#
-DB_HOST=db
-DB_PORT=#
-IP_INFO_TOKEN=#
-TELEGRAM_TOKEN= # token telegram from botfather
-REDIS_HOST=redis
-REDIS_PORT=6379
-DATA_HANDLER_URL=# url to data handler
\ No newline at end of file