mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
fix tests
This commit is contained in:
parent
97033e444f
commit
c9c0fefaef
2 changed files with 12 additions and 9 deletions
|
|
@ -2,14 +2,12 @@ steps:
|
|||
- bash: |
|
||||
FINAL_STATUS=0
|
||||
declare -a FAILED_BUILDS
|
||||
python3 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
python tools/pipstrap.py
|
||||
tools/venv.py
|
||||
source venv/bin/activate
|
||||
for doc_path in */docs
|
||||
do
|
||||
echo ""
|
||||
echo "##[group]Building $doc_path"
|
||||
tools/pip_install_editable.py $doc_path/..[docs]
|
||||
if ! sphinx-build -W --keep-going -b html $doc_path $doc_path/_build/html; then
|
||||
FINAL_STATUS=1
|
||||
FAILED_BUILDS[${#FAILED_BUILDS[@]}]="${doc_path%/docs}"
|
||||
|
|
|
|||
15
tox.ini
15
tox.ini
|
|
@ -100,7 +100,8 @@ setenv =
|
|||
basepython =
|
||||
{[testenv:oldest]basepython}
|
||||
commands =
|
||||
{[base]install_and_test} certbot-apache
|
||||
{[base]pip_install} acme[dev] certbot[dev] certbot-apache
|
||||
python -m pytest certbot-apache
|
||||
setenv =
|
||||
{[testenv:oldest]setenv}
|
||||
|
||||
|
|
@ -108,7 +109,8 @@ setenv =
|
|||
basepython =
|
||||
{[testenv:oldest]basepython}
|
||||
commands =
|
||||
{[base]install_and_test} certbot-apache[dev]
|
||||
{[base]pip_install} acme[dev] certbot[dev] certbot-apache[dev]
|
||||
python -m pytest certbot-apache
|
||||
setenv =
|
||||
{[testenv:oldest]setenv}
|
||||
|
||||
|
|
@ -116,7 +118,8 @@ setenv =
|
|||
basepython =
|
||||
{[testenv:oldest]basepython}
|
||||
commands =
|
||||
{[base]install_and_test} certbot[dev]
|
||||
{[base]pip_install} acme[dev] certbot[dev]
|
||||
python -m pytest certbot
|
||||
setenv =
|
||||
{[testenv:oldest]setenv}
|
||||
|
||||
|
|
@ -124,7 +127,8 @@ setenv =
|
|||
basepython =
|
||||
{[testenv:oldest]basepython}
|
||||
commands =
|
||||
{[base]install_and_test} {[base]dns_packages}
|
||||
{[base]pip_install} acme[dev] certbot[dev] {[base]dns_packages}
|
||||
python -m pytest {[base]dns_packages}
|
||||
setenv =
|
||||
{[testenv:oldest]setenv}
|
||||
|
||||
|
|
@ -132,7 +136,8 @@ setenv =
|
|||
basepython =
|
||||
{[testenv:oldest]basepython}
|
||||
commands =
|
||||
{[base]install_and_test} certbot-nginx
|
||||
{[base]pip_install} acme[dev] certbot[dev] certbot-nginx
|
||||
python -m pytest certbot-nginx
|
||||
python tests/lock_test.py
|
||||
setenv =
|
||||
{[testenv:oldest]setenv}
|
||||
|
|
|
|||
Loading…
Reference in a new issue