Skip to content

Commit a7a4ecc

Browse files
committed
CI,TST: Prevent test file pickup from source dir.
1 parent e54d3e1 commit a7a4ecc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,5 +215,8 @@ jobs:
215215
pip list
216216

217217
- name: Run test suite
218+
# NOTE: Move outside of source directory to prevent any file pickup -
219+
# ensure all tests/tests files are derived from the package *only*
218220
run: |
221+
mkdir foo && cd foo
219222
pytest -v --pyargs numpydoc

0 commit comments

Comments
 (0)