Skip to content

Commit 905784a

Browse files
committed
test: run pytest under Python devmode
1 parent c7026d0 commit 905784a

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ concurrency:
1616
cancel-in-progress: true
1717

1818
env:
19+
PYTHONDEVMODE: 1
1920
PIP_BREAK_SYSTEM_PACKAGES: 1
2021
PIP_ONLY_BINARY: numpy
2122
FORCE_COLOR: 3
2223
PYTEST_TIMEOUT: 300
2324
# For cmake:
2425
VERBOSE: 1
26+
CMAKE_BUILD_PARALLEL_LEVEL: 0
2527
CMAKE_COLOR_DIAGNOSTICS: 1
2628

2729
jobs:

.github/workflows/reusable-standard.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@ on:
1414
required: true
1515
type: string
1616

17+
env:
18+
PYTHONDEVMODE: 1
19+
PIP_BREAK_SYSTEM_PACKAGES: 1
20+
PIP_ONLY_BINARY: numpy
21+
FORCE_COLOR: 3
22+
PYTEST_TIMEOUT: 300
23+
# For cmake:
24+
VERBOSE: 1
25+
CMAKE_BUILD_PARALLEL_LEVEL: 0
26+
CMAKE_COLOR_DIAGNOSTICS: 1
27+
1728
jobs:
1829
standard:
1930
name: 🧪

0 commit comments

Comments
 (0)