mirror of
https://github.com/rbreu/beeref.git
synced 2026-03-11 08:54:28 +00:00
Split up requirement files
This commit is contained in:
parent
4385defaaf
commit
f49eef78d9
5 changed files with 14 additions and 7 deletions
2
.github/workflows/pytest.yml
vendored
2
.github/workflows/pytest.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
sudo apt install xvfb
|
||||
python -m pip install --upgrade pip
|
||||
pip install .
|
||||
pip install -r requirements/dev.txt
|
||||
pip install -r requirements/test.txt
|
||||
- name: Run Unittests with pytest
|
||||
run: |
|
||||
xvfb-run --auto-servernum --server-num=1 --server-args="-screen 1 1920x1200x24 -ac +extension GLX" coverage run --source=beeref -m pytest -v -s
|
||||
|
|
|
|||
|
|
@ -15,6 +15,6 @@
|
|||
|
||||
APPNAME = 'BeeRef'
|
||||
APPNAME_FULL = f'{APPNAME} Reference Image Viewer'
|
||||
VERSION = '0.1'
|
||||
VERSION = '0.1.0'
|
||||
WEBSITE = 'https://github.com/rbreu/beeref'
|
||||
COPYRIGHT = 'Copyright © 2021 Rebecca Breu'
|
||||
|
|
|
|||
|
|
@ -125,7 +125,10 @@ class DebugLogDialog(QtWidgets.QDialog):
|
|||
|
||||
layout = QtWidgets.QVBoxLayout()
|
||||
self.setLayout(layout)
|
||||
layout.addWidget(QtWidgets.QLabel(logfile_name()))
|
||||
name_widget = QtWidgets.QLabel(logfile_name())
|
||||
name_widget.setTextInteractionFlags(
|
||||
Qt.TextInteractionFlag.TextSelectableByMouse)
|
||||
layout.addWidget(name_widget)
|
||||
layout.addWidget(scroll)
|
||||
layout.addWidget(buttons)
|
||||
self.show()
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
coverage
|
||||
-r test.txt
|
||||
|
||||
flake8
|
||||
httpretty
|
||||
pytest
|
||||
pytest-qt>=4
|
||||
pybadges
|
||||
pyinstaller
|
||||
|
|
|
|||
4
requirements/test.txt
Normal file
4
requirements/test.txt
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
coverage
|
||||
httpretty
|
||||
pytest
|
||||
pytest-qt>=4
|
||||
Loading…
Reference in a new issue