From 141f761347c2e31f3467d7489b5dec0bd0758358 Mon Sep 17 00:00:00 2001 From: Ojus Sharma <112976298+ojusharma@users.noreply.github.com> Date: Sat, 6 Apr 2024 14:39:18 -0700 Subject: [PATCH] Deleting test database after every run - FLushing db after every run --- .github/workflows/coverage_testing.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/coverage_testing.yml b/.github/workflows/coverage_testing.yml index efd85e06..72f74a4b 100644 --- a/.github/workflows/coverage_testing.yml +++ b/.github/workflows/coverage_testing.yml @@ -32,6 +32,11 @@ jobs: coverage report coverage html -d coverage_report + - name: Delete test database + run: | + cd ./Django/communicado + python manage.py flush --no-input + - name: Save coverage report artifact uses: actions/upload-artifact@v2 with: