Skip to content

Commit

Permalink
github: Install Requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
asim3 committed Sep 5, 2023
1 parent 5d2658b commit c7a752d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci_cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@ jobs:
- name: Create New Django Project
run: if [ -x ./setup/set-new-django-project.bash ]; then echo "test_project" | make init; fi;

- name: Install Requirements
run: make install

- name: Run All Tests
run: make tests
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ init:

venv:
if [ ! -d ~/.venv/${PROJECT_NAME} ]; then python3 -m venv ~/.venv/${PROJECT_NAME}; fi;
if [ ! -f ./${PROJECT_NAME}/.env ]; then cp ./${PROJECT_NAME}/.env.sample ./${PROJECT_NAME}/.env; fi;


install: venv sql-backup
Expand Down

0 comments on commit c7a752d

Please sign in to comment.