parent
12de240949
commit
afdfcb0d2c
|
@ -26,11 +26,11 @@ jobs:
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -e .[test]
|
pip install -e ."[test]"
|
||||||
|
|
||||||
- name: Run tests on Ubuntu
|
- name: Run tests on Ubuntu
|
||||||
run: |
|
run: |
|
||||||
pytest
|
pytest --cov=lib/ tests/
|
||||||
|
|
||||||
macos-build:
|
macos-build:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
@ -59,4 +59,4 @@ jobs:
|
||||||
|
|
||||||
- name: Run tests on macOS
|
- name: Run tests on macOS
|
||||||
run: |
|
run: |
|
||||||
pytest
|
pytest --cov=lib/ tests/
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -85,7 +85,7 @@ For instructions on installing Solaar see https://pwr-solaar.github.io/Solaar/in
|
||||||
'report-descriptor': ['hid-parser'],
|
'report-descriptor': ['hid-parser'],
|
||||||
'desktop-notifications': ['Notify (>= 0.7)'],
|
'desktop-notifications': ['Notify (>= 0.7)'],
|
||||||
'git-commit': ['python-git-info'],
|
'git-commit': ['python-git-info'],
|
||||||
'test': ['pytest'],
|
'test': ['pytest', 'pytest-cov'],
|
||||||
},
|
},
|
||||||
package_dir={'': 'lib'},
|
package_dir={'': 'lib'},
|
||||||
packages=['keysyms', 'hidapi', 'logitech_receiver', 'solaar', 'solaar.ui', 'solaar.cli'],
|
packages=['keysyms', 'hidapi', 'logitech_receiver', 'solaar', 'solaar.ui', 'solaar.cli'],
|
||||||
|
|
Loading…
Reference in New Issue