diff options
author | Felix Fontein <felix@fontein.de> | 2020-04-09 11:53:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 02:53:34 -0700 |
commit | bae5f18f5cd8d4e896df1c321e5c0d2e81cceca6 (patch) | |
tree | 82c36b16cfe9c9a8f531df69e624920e06617be6 /test | |
parent | 38b7ceb75a69ce8634c88ba40f7a314ff4e7f8e5 (diff) | |
download | ansible-bae5f18f5cd8d4e896df1c321e5c0d2e81cceca6.tar.gz |
ansible-test: don't trigger full CI run for changes to changelogs/ and docs/ in collections (#68550)
* Don't trigger full CI run for changes to changelogs/ and docs/ in collections.
* Add changelog fragment.
* Update changelogs/fragments/68550-ansible-test-docs-changelogs.yml
Co-Authored-By: Matt Clay <matt@mystile.com>
Co-authored-by: Matt Clay <matt@mystile.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/ansible_test/_internal/classification.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/lib/ansible_test/_internal/classification.py b/test/lib/ansible_test/_internal/classification.py index c0357d5913..3c5dd6a594 100644 --- a/test/lib/ansible_test/_internal/classification.py +++ b/test/lib/ansible_test/_internal/classification.py @@ -641,6 +641,14 @@ class PathMapper: if result is not None: return result + minimal = {} + + if path.startswith('changelogs/'): + return minimal + + if path.startswith('docs/'): + return minimal + return None def _classify_ansible(self, path): # type: (str) -> t.Optional[t.Dict[str, str]] |