Improve validation of openedx_content to prevent creation of corrupt states #2064
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint Imports | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| lint-imports: | |
| name: Lint Python Imports | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: setup python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.12' | |
| - name: Install pip | |
| run: pip install -r requirements/pip.txt | |
| - name: Install Dependencies | |
| run: pip install -e . -r requirements/quality.txt | |
| - name: Analyze imports | |
| run: lint-imports |