use molecule v3, drop v2 - use tox-lsr 2.1.2

Switch to molecule v3.  This drops support for v2.
This requires tox-lsr 2 or later.
Upgrade to tox-lsr 2.1.2 to pick up fix for collection dependency
on python six.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
This commit is contained in:
Rich Megginson 2021-02-09 10:36:55 -07:00 committed by Richard Megginson
parent ba932115fb
commit e109d52e77
2 changed files with 2 additions and 6 deletions

View file

@ -3,7 +3,7 @@ name: tox
on: # yamllint disable-line rule:truthy
- pull_request
env:
TOX_LSR: "git+https://github.com/linux-system-roles/tox-lsr@1.0.2"
TOX_LSR: "git+https://github.com/linux-system-roles/tox-lsr@2.1.2"
LSR_ANSIBLES: 'ansible==2.8.* ansible==2.9.*'
LSR_MSCENARIOS: default
# LSR_EXTRA_PACKAGES: "libdbus-1-dev libgirepository1.0-dev python3-dev"

View file

@ -3,9 +3,7 @@
dependency:
name: galaxy
driver:
name: docker
lint:
enabled: false
name: ${LSR_MOLECULE_DRIVER:-docker}
platforms:
- name: centos-6
image: registry.centos.org/centos:6
@ -28,8 +26,6 @@ platforms:
provisioner:
name: ansible
log: true
lint:
enabled: false
playbooks:
converge: ../../tests/tests_default.yml
scenario: