Skip to content

fix: use LearnerLicenseSerializer in LicenseActivationView #2491

fix: use LearnerLicenseSerializer in LicenseActivationView

fix: use LearnerLicenseSerializer in LicenseActivationView #2491

Workflow file for this run

name: Django CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
django-version: ["pinned"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install requirements
run: make requirements
- name: Upgrade packages
run: |
pip install -U pip wheel codecov
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
run: make test
- name: Codecov
run: codecov
quality:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install requirements
run: make requirements
- name: Upgrade packages
run: pip install -U pip wheel codecov
- name: Run pylint
run: make lint
- name: Run pycodestyle
run: make style
- name: Run isort
run: make isort_check
- name: Run pii check
run: make pii_check