From adbc5245854b1093c075e2d20d144df9e7b69d77 Mon Sep 17 00:00:00 2001 From: Mohammad Hussein Chahkandi <100763223+muhuchah@users.noreply.github.com> Date: Mon, 24 Jun 2024 01:22:16 +0330 Subject: [PATCH] Update liara.yaml --- .github/workflows/liara.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/liara.yaml b/.github/workflows/liara.yaml index c44a8ef..3824961 100644 --- a/.github/workflows/liara.yaml +++ b/.github/workflows/liara.yaml @@ -24,15 +24,16 @@ jobs: - name: Install dependencies working-directory: Karoo_BackEnd/Karoo_BackEnd run: | - python -m venv venv - source venv/bin/activate + python -m pip install --upgrade pip pip install -r requirements.txt + + - name: Run migrations + working-directory: Karoo_BackEnd/Karoo_BackEnd + run: python manage.py migrate - name: Run Django tests working-directory: Karoo_BackEnd/Karoo_BackEnd - run: | - source venv/bin/activate - python manage.py test + run: python manage.py test - name: update-liara working-directory: Karoo_BackEnd/Karoo_BackEnd