Skip to content

Commit

Permalink
requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
mk314k committed Nov 21, 2023
1 parent a7bbeb0 commit 5c2de7f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,15 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Find requirements.txt
id: find-requirements
run: |
REQUIREMENTS=$(git ls-files '*.txt' | grep 'requirements.txt' || true)
echo "::set-output name=requirements_path::$REQUIREMENTS"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r ../../requirements.txt
pip install -r ${{ steps.find-requirements.outputs.requirements_path }} # Install requirements.txt
pip install pylint
- name: Analysing the code with pylint
run: |
Expand Down

0 comments on commit 5c2de7f

Please sign in to comment.