Skip to content

Commit

Permalink
Fix CI dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pzbitskiy committed Aug 6, 2024
1 parent 28592fa commit bed9da6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mypy
pip install -r requirements.txt
pip install -r requirements-test.txt
- name: Running mypy
run: python -m mypy src tests
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install -r requirements.txt
pip install -r requirements-test.txt
- name: Running linter
run: pylint src tests
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -r requirements.txt
pip install -r requirements-test.txt
- name: Running tests
run: python -m pytest tests
4 changes: 4 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pylint
pytest
black
mypy
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
evdev
RPi.GPIO
git+https://github.com/pzbitskiy/yamaha-ysp-4000@v0.2.0
git+https://github.com/pzbitskiy/yamaha-ysp-4000@v0.3.0
ha-mqtt-discoverable==0.14.0

0 comments on commit bed9da6

Please sign in to comment.