Skip to content

Commit f7f8e20

Browse files
committed
Specify dir to run pytest on
1 parent 79dd1d1 commit f7f8e20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/standalone_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ set -e
1717
# this environment variable allows special tests to run
1818
export PL_RUN_STANDALONE_TESTS=1
1919
# python arguments
20-
defaults='-m coverage run --source pytorch_lightning --append -m pytest --capture=no'
20+
defaults='-m coverage run --source pytorch_lightning --append -m pytest --capture=no tests'
2121

2222
# find tests marked as `@RunIf(standalone=True)`. done manually instead of with pytest because it is faster
2323
grep_output=$(grep --recursive --word-regexp 'tests' --regexp 'standalone=True' --include '*.py' --exclude 'tests/conftest.py')

0 commit comments

Comments
 (0)