Test merge from release/2.4 [DO NOT MERGE] #20793
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: Pylint | |
# Always run on Pull Requests as then this check can be marked as required. It takes less than | |
# two minutes to run and we can probably decrease this over time. | |
on: | |
pull_request: | |
jobs: | |
pylint: | |
name: Pylint check | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Install core python packages | |
run: python3 -m pip install --requirement requirements.txt | |
- name: Install extra python packages | |
run: python3 -m pip install --requirement utils/cq/requirements.txt | |
- name: Install enchant | |
run: sudo apt-get update && sudo apt-get -y install python3-enchant | |
- name: Run pylint check. | |
run: ./utils/cq/daos_pylint.py --git --output-format github |