Fix Migrate error

This commit is contained in:
sosokker 2023-10-30 19:33:45 +07:00
parent 8fc452c149
commit 00efd2c38b

View File

@ -25,17 +25,18 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run migrations
run: python manage.py migrate
- name: Run tests
run: |
cd backend
python manage.py migrate
- name: Run tests
run: |
python manage.py test