Skip to content

Merge pull request #1188 from openedx/pythonupgrade #770

Merge pull request #1188 from openedx/pythonupgrade

Merge pull request #1188 from openedx/pythonupgrade #770

name: Migrations Check
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
run_tests:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-20.04 ]
python-version: [ "3.8", "3.11", "3.12" ]
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
pip install -r requirements/pip.txt
pip install -r requirements/dev.txt
pip install -r requirements/test.txt
- name: Run Tests
run: |
echo "Running migrations."
./manage.py migrate --settings=test_settings