mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
Main piece of #5810. * Rename Certbot integration tests * Remove nginx from certbot tests * allow for running individual integration tests * fail under 65 * Add set -e * Track Nginx coverage and omit it from report later. * Use INTEGRATION_TEST in script * add INTEGRATION_TEST=all * update min certbot percentage
17 lines
467 B
Bash
Executable File
17 lines
467 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [ "$INTEGRATION_TEST" = "certbot" ]; then
|
|
tests/certbot-boulder-integration.sh
|
|
elif [ "$INTEGRATION_TEST" = "nginx" ]; then
|
|
certbot-nginx/tests/boulder-integration.sh
|
|
else
|
|
tests/certbot-boulder-integration.sh
|
|
# Most CI systems set this variable to true.
|
|
# If the tests are running as part of CI, Nginx should be available.
|
|
if ${CI:-false} || type nginx; then
|
|
certbot-nginx/tests/boulder-integration.sh
|
|
fi
|
|
fi
|