Skip to content

Merge pull request #567 from openedx/jenkins/upgrade-python-requireme… #2471

Merge pull request #567 from openedx/jenkins/upgrade-python-requireme…

Merge pull request #567 from openedx/jenkins/upgrade-python-requireme… #2471

Workflow file for this run

name: Django CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
django-version: ["pinned"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install requirements
run: make requirements
- name: Upgrade packages
run: |
pip install -U pip wheel
if [[ "${{ matrix.django-version }}" != "pinned" ]]; then
pip install "django~=${{ matrix.django-version }}.0"
pip check # fail if this test-reqs/Django combination is broken
fi
- name: Validate translations
run: make validate_translations
- name: Run tests and style checks
run: make validate