Skip to content

Commit

Permalink
🔧 Update pylint.yml to include installation of dependencies from requ…
Browse files Browse the repository at this point in the history
…irements.txt
  • Loading branch information
Senja20 committed Apr 25, 2024
1 parent ce1bbe0 commit 17e91b8
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U pylint
pip install -r requirements.txt
pip install -U pylint
- name: Lint Code
run: pylint $(git ls-files '*.py')
Expand All @@ -49,18 +49,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: read Cached pip
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: pytest .

0 comments on commit 17e91b8

Please sign in to comment.