Skip to content

Commit 8f6ecfe

Browse files
committed
Ignore doc/conf.py when running tests from project root
1 parent 65ce2c7 commit 8f6ecfe

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ci-support.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,8 @@ test_py_project()
596596
if [ -z "$NO_DOCTESTS" ]; then
597597
RST_FILES=(doc/*.rst)
598598
599+
PYTEST_FLAGS="--ignore=doc/conf.py $PYTEST_FLAGS"
600+
599601
for f in "${RST_FILES[@]}"; do
600602
if [ -e "$f" ]; then
601603
if ! grep -q no-doctest "$f"; then

0 commit comments

Comments
 (0)