summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 21be1f1..1829cde 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -131,6 +131,15 @@ jobs:
displayName: Run tests
- script: |
+ set -e
+ cmd/caddy/caddy start
+ go test -v -count=1 ./caddytest/...
+ cmd/caddy/caddy stop
+ workingDirectory: '$(modulePath)'
+ continueOnError: false
+ displayName: Run Integration tests
+
+ - script: |
mkdir coverage
gocov convert cover-profile.out > coverage/coverage.json
# Because Windows doesn't work with input redirection like *nix, but output redirection works.