Merge pull request #93 from openedx/jenkins/upgrade-python-requiremen… #392
This file contains 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@v3 | |
- name: setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install pip | |
run: pip install -r requirements/pip.txt | |
- name: Install Dependencies | |
run: pip install -r requirements/ci.txt | |
- name: Analyze imports | |
run: lint-imports |