Skip to content

Commit

Permalink
Add requirements.txt install step
Browse files Browse the repository at this point in the history
  • Loading branch information
ghantoos committed Oct 23, 2024
1 parent d8cc0eb commit c46a9f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Set up Python path
run: echo "PYTHONPATH=$PWD" >> $GITHUB_ENV
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')

0 comments on commit c46a9f7

Please sign in to comment.