Skip to content

Commit

Permalink
[Chore] Add unit test for django rest framwork api
Browse files Browse the repository at this point in the history
  • Loading branch information
zakarm committed Apr 25, 2024
1 parent ad867ef commit fdf3a1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/django-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ jobs:

- name: Install dependencies
run: |
cp app/back-end/requirements.txt .
cd app/back-end
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run migrations
run: |
cd app/back-end
python makemigrations
python manage.py makemigrations
python manage.py migrate
env:
DATABASE_URL: "postgres://postgres:postgres@localhost:5432/db_member"
Expand Down

0 comments on commit fdf3a1d

Please sign in to comment.