Skip to content

Commit 82f41df

Browse files
committed
refactor: add no:qt
1 parent 0731dd0 commit 82f41df

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
--cov=kratt \
5454
--cov-report=term-missing \
5555
--cov-report=xml \
56+
-p no:qt \
5657
--tb=short
5758
5859
- name: Generate coverage report

pyproject.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,10 @@ where = ["."]
4242

4343
[tool.pytest.ini_options]
4444
testpaths = ["tests"]
45-
addopts = "--cov=kratt --cov-report=term-missing --cov-report=html --strict-markers -ra"
46-
markers = [
47-
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
48-
"integration: marks tests as integration tests",
49-
]
45+
addopts = "--cov=kratt --cov-report=term-missing --cov-report=html -p no:qt"
5046
python_files = ["test_*.py"]
5147
python_classes = ["Test*"]
5248
python_functions = ["test_*"]
53-
# Disable Qt plugin to avoid display issues in CI
54-
qt_api = "pyqt5"
5549

5650
[tool.coverage.run]
5751
omit = [

0 commit comments

Comments
 (0)