blob: 5e6e48235b3483dabd9df23835d4c382239661bf [file] [log] [blame]
# Copyright (c) 2022 VEXXHOST, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
[tox]
requires = tox-ansible
skipsdist = True
[testenv]
skipsdist = True
passenv =
OS_*
TERM
ATMOSPHERE_*
[testenv:build]
deps =
ansible-core
pbr
pyyaml
commands =
python3 {toxinidir}/tools/generate-galaxy-yml.py
ansible-galaxy collection build --force
[testenv:molecule]
deps =
ansible
molecule==3.5.2
-rmolecule/default/requirements.txt
commands =
molecule {posargs}
[testenv:docs]
deps =
-r{toxinidir}/doc/requirements.txt
commands =
sphinx-build -E -W -d doc/build/doctrees -b html doc/source/ doc/build/html