Skip to content

Commit 309875e

Browse files
committed
Fix pytest command not found in CI by using python3 -m pytest
1 parent 439a0fc commit 309875e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/run_integrated_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ export PYTHONPATH="@PROJECT_BINARY_DIR@/tools/pylib:@PROJECT_SOURCE_DIR@/tools/p
77
# Pre-build the project to prevent concurrent CMake race conditions
88
cmake --build "$PROJECT_ROOT"
99

10-
pytest -m "not serial" --cache-clear -n auto --dist=loadgroup -q "$PROJECT_ROOT/tests/integrated" "$@"
11-
pytest -m serial "$PROJECT_ROOT/tests/integrated" "$@"
10+
python3 -m pytest -m "not serial" --cache-clear -n auto --dist=loadgroup -q "$PROJECT_ROOT/tests/integrated" "$@"
11+
python3 -m pytest -m serial "$PROJECT_ROOT/tests/integrated" "$@"

0 commit comments

Comments
 (0)