Skip to content

Commit

Permalink
Update CI_Workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BkPankaj authored Aug 16, 2024
1 parent 271a07e commit 29a7a2f
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/CI_Workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
run: npm test -- --watchAll=false

working-directory: frontend
test-2:
tests-2:
runs-on: ubuntu-latest
needs: setup

Expand Down Expand Up @@ -155,8 +155,19 @@ jobs:
- name: Add .env file
run: cp backend/.env.template backend/.env

- name: Verify Python path
run: |
which python
python --version
- name: Reinstall dependencies (ensure Django is installed)
run: pip install -r backend/requirements.txt

- name: Check if Django is installed
run: python3 -m django --version

- name: Generate static files
run: python3 backend/manage.py collectstatic --noinput
run: python3 backend/manage.py collectstatic

- name: Start backend server
run: python3 manage.py runserver 8080 &
Expand Down

0 comments on commit 29a7a2f

Please sign in to comment.