blob: 4af1d0e03aa70396f534df663ba3581a607dadd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
- name: Set OS_TEST_TIMEOUT if requested
set_fact:
tempest_tox_environment: "{{ tempest_tox_environment | combine({'OS_TEST_TIMEOUT': tempest_test_timeout}) }}"
when: tempest_test_timeout != ''
- name: Set TOX_CONSTRAINTS_FILE
set_fact:
tempest_tox_environment: "{{ tempest_tox_environment | combine({'UPPER_CONSTRAINTS_FILE': constraints_file}) | combine({'TOX_CONSTRAINTS_FILE': constraints_file}) }}"
- name: Allow git to read plugin directories
become: true
command: git config --system --add safe.directory {{heat_tempest_plugin}}
- name: Install plugins
command: tox -evenv-tempest -- pip install -c{{constraints_file}} {{heat_tempest_plugin}}
become: true
args:
chdir: "{{devstack_base_dir}}/tempest"
environment: "{{ tempest_tox_environment }}"
- name: Run heat tests
command: tox -evenv-tempest -- stestr --test-path={{devstack_base_dir}}/heat/heat_integrationtests \
--top-dir={{devstack_base_dir}}/heat \
--group_regex='heat_tempest_plugin\.tests\.api\.test_heat_api[._]([^_]+)' run
args:
chdir: "{{devstack_base_dir}}/tempest"
become: true
environment: "{{ tempest_tox_environment }}"
|