Skip to content

Commit

Permalink
Fix ci workflow (pylint, pyflakes)
Browse files Browse the repository at this point in the history
  • Loading branch information
znerol committed Jan 5, 2024
1 parent 3a17ba0 commit d985a7d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,19 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Install pylint / pyflakes
run: |
sudo apt-get update
sudo apt-get install --yes pylint pyflakes3
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install dependencies
run: pip install -r requirements.txt

- name: Install test dependencies
run: pip install -r requirements-test.txt

- name: Install pve_exporter
run: sudo pip install -e .
run: pip install .

- name: Run pylint
run: pylint pve_exporter
Expand Down
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pylint
pylint==2.12.2
pyflakes

0 comments on commit d985a7d

Please sign in to comment.