Mohammed Naser | 1220717 | 2024-02-05 18:49:35 -0500 | [diff] [blame] | 1 | # Copyright (c) 2024 VEXXHOST, Inc. |
Mohammed Naser | 3f96178 | 2023-04-20 10:48:21 -0400 | [diff] [blame] | 2 | # |
| 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 Naser | f75ab07 | 2024-04-02 12:55:10 -0400 | [diff] [blame] | 15 | - 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 Naser | 1220717 | 2024-02-05 18:49:35 -0500 | [diff] [blame] | 27 | - name: Run Tempest tests |
| 28 | ansible.builtin.import_playbook: vexxhost.atmosphere.tempest |