os-autoinst-distri-rocky/ci/tox.yaml
Tristan Cacqueray 85be99830b ci: use the tox version installed by ensure-tox
This change fix the ci by using the new tox installation
provided by the latest https://opendev.org/zuul/zuul-jobs.
2020-08-11 18:28:11 +00:00

15 lines
372 B
YAML

- hosts: all
tasks:
- name: Ensure tox is installed
include_role:
name: ensure-tox
- name: Install all Python versions to test
package:
name: ['python37', 'python38', 'python39']
state: present
become: yes
- name: Run tox
command: "{{ tox_executable }}"
args:
chdir: '{{ zuul.project.src_dir }}'