remove deprecated pytest-runner
See https://github.com/pytest-dev/pytest-runner/#deprecation-notice. We can call pytest directly instead.
This commit is contained in:
parent
e0592eaf4f
commit
de48b07328
|
@ -41,13 +41,11 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -e .
|
pip install -e '.[test]'
|
||||||
python setup.py develop
|
|
||||||
|
|
||||||
- name: Compile all scripts
|
- name: Compile all scripts
|
||||||
run: python -m compileall -f terminatorlib/ tests/ remotinator terminator
|
run: python -m compileall -f terminatorlib/ tests/ remotinator terminator
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
pip install -e '.[test]'
|
xvfb-run -a pytest
|
||||||
xvfb-run -a python setup.py test
|
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -219,9 +219,6 @@ setup(name=APP_NAME,
|
||||||
'terminatorlib',
|
'terminatorlib',
|
||||||
'terminatorlib.plugins',
|
'terminatorlib.plugins',
|
||||||
],
|
],
|
||||||
setup_requires=[
|
|
||||||
'pytest-runner',
|
|
||||||
],
|
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'pycairo',
|
'pycairo',
|
||||||
'configobj',
|
'configobj',
|
||||||
|
@ -229,7 +226,6 @@ setup(name=APP_NAME,
|
||||||
'pygobject',
|
'pygobject',
|
||||||
'psutil',
|
'psutil',
|
||||||
],
|
],
|
||||||
tests_require=test_deps,
|
|
||||||
extras_require={'test': test_deps},
|
extras_require={'test': test_deps},
|
||||||
package_data={'terminatorlib': ['preferences.glade', 'layoutlauncher.glade']},
|
package_data={'terminatorlib': ['preferences.glade', 'layoutlauncher.glade']},
|
||||||
cmdclass={'build': BuildData, 'install_data': InstallData, 'uninstall': Uninstall},
|
cmdclass={'build': BuildData, 'install_data': InstallData, 'uninstall': Uninstall},
|
||||||
|
|
Loading…
Reference in New Issue