diff --git a/.zuul.d/project.yaml b/.zuul.d/project.yaml index bedb2f1222..f662c1f541 100644 --- a/.zuul.d/project.yaml +++ b/.zuul.d/project.yaml @@ -15,6 +15,8 @@ - horizon-integration-tests - horizon-integration-pytest: voting: false + - horizon-ui-pytest: + voting: false - horizon-dsvm-tempest-plugin - horizon-tox-bandit-baseline - horizon-tempest-plugin-ipv6 diff --git a/.zuul.d/tempest-and-integrated.yaml b/.zuul.d/tempest-and-integrated.yaml index be64ee6bfe..b5dd18313c 100644 --- a/.zuul.d/tempest-and-integrated.yaml +++ b/.zuul.d/tempest-and-integrated.yaml @@ -62,6 +62,38 @@ tox_envlist: integration-pytest tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt" +- job: + name: horizon-ui-pytest + parent: devstack + nodeset: devstack-single-node-debian-bullseye + pre-run: playbooks/horizon-devstack-integration/pre.yaml + run: playbooks/horizon-devstack-integration/run.yaml + post-run: playbooks/horizon-devstack-integration/post.yaml + roles: + - zuul: openstack-infra/devstack + required-projects: + - openstack/horizon + - openstack/requirements + irrelevant-files: + - ^.*\.rst$ + - ^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 + tox_envlist: ui-pytest + tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt" + - job: name: horizon-dsvm-tempest-plugin parent: devstack-tempest