diff --git a/snap/test.sh b/snap/test.sh deleted file mode 100644 index e6aca7efd..000000000 --- a/snap/test.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -set -ex - -python3 -m venv venv -venv/bin/python -m pip install -e certbot/certbot-ci -venv/bin/python -m pytest certbot/certbot-ci/certbot_integration_tests -n 4 - -# DO NOT RUN `apache-conf-test` LOCALLY, IT WILL BREAK YOUR APACHE CONFIGURATION! -if [ -n "$TRAVIS" ]; then - venv/bin/python certbot/certbot-apache/tests/apache-conf-files/apache-conf-test-pebble.py --debian-modules -fi diff --git a/tox.ini b/tox.ini index 7f5b7bd5a..e80886db3 100644 --- a/tox.ini +++ b/tox.ini @@ -138,15 +138,19 @@ commands = [testenv:apacheconftest] commands = - {[base]pip_install} acme certbot certbot-apache certbot-compatibility-test + {[base]pip_install} acme certbot certbot-apache {toxinidir}/certbot-apache/tests/apache-conf-files/apache-conf-test --debian-modules passenv = SERVER +[testenv:apacheconftest-external-with-pebble] + {[base]pip_install} certbot-ci + {toxinidir}/certbot-apache/tests/apache-conf-files/apache-conf-test-pebble.py --debian-modules + [testenv:apacheconftest-with-pebble] commands = - {[base]pip_install} acme certbot certbot-apache certbot-ci certbot-compatibility-test - {toxinidir}/certbot-apache/tests/apache-conf-files/apache-conf-test-pebble.py --debian-modules + {[base]pip_install} acme certbot certbot-apache + {[testenv:apacheconftest-external-with-pebble]commands} [testenv:nginxroundtrip] commands = @@ -250,6 +254,13 @@ commands = --cov-config=certbot-ci/certbot_integration_tests/.coveragerc coverage report --include 'certbot/*' --show-missing --fail-under=62 +[testenv:integration-external] +commands = + {[base]pip_install} certbot-ci + pytest certbot-ci/certbot_integration_tests \ + --acme-server={env:ACME_SERVER:pebble} \ +passenv = DOCKER_* + [testenv:integration-certbot-oldest] commands = {[base]pip_install} certbot