Skip to content

Make frontend maintainable again #5042

Make frontend maintainable again

Make frontend maintainable again #5042

Workflow file for this run

name: Python verifications
on: [push, pull_request]
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: ["3.9"]
node-version: ["14"]
os: [ubuntu-20.04, windows-latest, macos-11]
defaults:
run:
shell: bash
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup PDM
uses: pdm-project/setup-pdm@v4
- name: Install dependencies
run: pdm install
- name: Test Python packages
shell: bash
run: pdm run pytest --doctest-modules
- name: Test Python types (mypy)
shell: bash
run: pdm run mypy apps
- name: Python code style (black)
shell: bash
run: pdm run black src --check
- name: Python code style (pylint)
shell: bash
run: pdm run pylint $(git ls-files '*.py')
- name: validate that Test Course Json files are up to date
run: |
./scripts/verifyTestCourseJsonFiles.sh