mirror of
https://github.com/TurTaskProject/TurTaskWeb.git
synced 2025-12-19 22:14:07 +01:00
Fix Migrate error
This commit is contained in:
parent
8fc452c149
commit
00efd2c38b
9
.github/workflows/django.yml
vendored
9
.github/workflows/django.yml
vendored
@ -25,17 +25,18 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python 3.9
|
- name: Set up Python 3.11
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.11
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
- name: Run migrations
|
- name: Run migrations
|
||||||
run: python manage.py migrate
|
|
||||||
- name: Run tests
|
|
||||||
run: |
|
run: |
|
||||||
cd backend
|
cd backend
|
||||||
|
python manage.py migrate
|
||||||
|
- name: Run tests
|
||||||
|
run: |
|
||||||
python manage.py test
|
python manage.py test
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user