Docs: `ansible-test sanity` example with a folder

##### SUMMARY
The docs mentions explicitly that you can run the tests against certain files which might not relay that it works on folders too!

Let's make this clear :)

##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
pull/77777/head
Kristian Heljas 3 years ago committed by Matt Clay
parent 255745b3e6
commit 52bd59c481

@ -36,8 +36,11 @@ How to run
# Run all sanity tests including disabled ones # Run all sanity tests including disabled ones
ansible-test sanity --allow-disabled ansible-test sanity --allow-disabled
# Run all sanity tests against against certain files # Run all sanity tests against certain file(s)
ansible-test sanity lib/ansible/modules/files/template.py ansible-test sanity lib/ansible/modules/files/template.py
# Run all sanity tests against certain folder(s)
ansible-test sanity lib/ansible/modules/files/
# Run all tests inside docker (good if you don't have dependencies installed) # Run all tests inside docker (good if you don't have dependencies installed)
ansible-test sanity --docker default ansible-test sanity --docker default

Loading…
Cancel
Save