-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpytest-ci.ini
More file actions
37 lines (32 loc) · 1.31 KB
/
Copy pathpytest-ci.ini
File metadata and controls
37 lines (32 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[pytest]
# CI-specific pytest configuration
# Use with: pytest -c pytest-ci.ini
# Test paths
testpaths = tests
# Markers
markers =
integration: marks tests as integration tests (may be slow)
slow: marks tests that take significant time to run (>10 seconds)
unit: marks tests as pure unit tests (CI-friendly)
requires_sirf: marks tests that require SIRF to be installed
requires_stir: marks tests that require STIR Python to be installed
requires_simind: marks tests that require SIMIND to be installed
requires_pytomography: marks tests that require PyTomography to be installed
requires_cil: marks tests that require CIL to be installed
requires_setr: marks tests that require SETR to be installed
ci_skip: marks tests to skip in CI environments
# Filtering for CI - only run tests that don't require external dependencies
addopts =
-v
--tb=short
--strict-markers
-m "not integration and not requires_sirf and not requires_stir and not requires_simind and not requires_pytomography and not requires_cil and not requires_setr and not ci_skip"
--durations=10
# Output
console_output_style = progress
junit_family = xunit2
# Coverage (optional - can be added if needed)
# --cov=simind_python_connector
# --cov-report=xml
# --cov-report=html
# --cov-report=term-missing