blob: d5a24f74815fab11fab1ae84a7b81f054bb215ca [file] [log] [blame]
Mohammed Naser12207172024-02-05 18:49:35 -05001# Copyright (c) 2024 VEXXHOST, Inc.
Mohammed Naser3f961782023-04-20 10:48:21 -04002#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
Mohammed Naserf75ab072024-04-02 12:55:10 -040015- name: Run tests
16 hosts: localhost
17 gather_facts: false
18 tasks:
19 - name: Run "stestr" tests
20 become: true
21 ansible.builtin.shell: stestr run
22 args:
23 chdir: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') }}"
24 environment:
25 KUBECONFIG: /root/.kube/config
26
Mohammed Naser12207172024-02-05 18:49:35 -050027- name: Run Tempest tests
28 ansible.builtin.import_playbook: vexxhost.atmosphere.tempest