Skip integration tests for UT only changes

The integration tests job takes longest time in horizon jobs.
It is worth skipping it for UT only changes (including JS UT).
We already do the similar in the tempest job.

Irrevalent file list for tempest job is also updated
to ignoer JS UT changes.

Change-Id: Ie63e9a9361f2fd7111767864043eb8ad3084a900
This commit is contained in:
Akihiro Motoki
2020-02-18 14:07:25 +09:00
parent b178c2a548
commit dd32c9287b

View File

@@ -56,6 +56,15 @@
- ^doc/.*$
- ^releasenotes/.*$
- ^.*/locale/.*$
# Unit tests are not related to the integration tests
- ^horizon/test/unit/.*$
- ^openstack_auth/tests/unit/.*$
- ^openstack_dashboard/test/unit/.*$
- ^openstack_dashboard/contrib/.*/tests.py$
- ^openstack_dashboard/dashboards/.*/tests.py$
# JavaScript unit tests are not related to the integration tests
- ^openstack_dashboard/.*/[^/]*\.spec\.js$
- ^horizon/static/.*/[^/]*\.spec\.js$
vars:
devstack_services:
horizon: true
@@ -78,7 +87,11 @@
- ^horizon/test/.*$
- ^openstack_auth/tests/.*$
- ^openstack_dashboard/test/.*$
- ^openstack_dashboard/contrib/.*/tests.py$
- ^openstack_dashboard/dashboards/.*/tests.py$
# JavaScript unit tests are not related to tempest tests
- ^openstack_dashboard/.*/[^/]*\.spec\.js$
- ^horizon/static/.*/[^/]*\.spec\.js$
vars: &base_vars
devstack_localrc:
TEMPEST_PLUGINS: "{{ ansible_user_dir }}/src/opendev.org/openstack/tempest-horizon"