mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 10:25:28 +00:00
Merge pull request #148 from i386x/lsr-template-refactored--part-6
Onboard refactored tox & Travis CI setup and configuration vol. 6
This commit is contained in:
commit
09be8c407e
4 changed files with 6 additions and 16 deletions
|
|
@ -26,5 +26,3 @@
|
|||
#
|
||||
# - RUN_FLAKE8_DISABLED
|
||||
#
|
||||
|
||||
export LSR_MOLECULE_DEPS='-rmolecule_requirements.txt'
|
||||
|
|
|
|||
4
molecule_extra_requirements.txt
Normal file
4
molecule_extra_requirements.txt
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
|
||||
# Write extra requirements for running molecule here:
|
||||
jmespath
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
jmespath
|
||||
selinux
|
||||
13
tox.ini
13
tox.ini
|
|
@ -172,21 +172,12 @@ commands =
|
|||
bash -c 'cd ..; bash .travis/fix-coverage.sh; cd -'
|
||||
coveralls
|
||||
|
||||
# LSR_MOLECULE_DEPS may contain aditional Molecule dependencies. For example,
|
||||
# in `network` system role, LSR_MOLECULE_DEPS can be set as
|
||||
#
|
||||
# LSR_MOLECULE_DEPS='-rmolecule_requirements.txt'
|
||||
#
|
||||
# where `molecule_requirements.txt` contains two lines:
|
||||
#
|
||||
# jmespath
|
||||
# selinux
|
||||
#
|
||||
[molecule_common]
|
||||
deps =
|
||||
docker
|
||||
molecule
|
||||
{env:LSR_MOLECULE_DEPS:}
|
||||
selinux
|
||||
-rmolecule_extra_requirements.txt
|
||||
|
||||
[testenv:molecule_lint]
|
||||
envdir = {toxworkdir}/env-{env:TRAVIS_PYTHON_VERSION:molecule}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue