CI: skip func tests on irrelevant changes

These tests take 5-30x longer than the unit tests & style check; only
run them if there's a reason to think their outcome might have changed.

Change-Id: I2ccee79538f8bf6408e7bfb8a9826201180a41fe
This commit is contained in:
Tim Burke 2024-02-26 13:17:49 -08:00
parent 6af54cf481
commit 0ec6246ac9
1 changed files with 9 additions and 2 deletions

View File

@ -43,8 +43,15 @@
- openstack-tox-py37
check:
jobs:
- swiftclient-swift-functional
- swiftclient-functional
- swiftclient-functional:
irrelevant-files: &functest-irrelevant-files
- ^(doc|releasenotes)/.*$
- ^test/unit/.*$
- ^(.gitreview|.mailmap|AUTHORS|ChangeLog|.*\.rst)$
- swiftclient-swift-functional:
irrelevant-files: *functest-irrelevant-files
- tempest-full-py3:
irrelevant-files: *functest-irrelevant-files
- openstack-tox-py311:
voting: true
gate: