Initial Azure Pipeline config

This commit is contained in:
John Barker
2020-12-11 13:29:10 +00:00
parent ef36fdc17d
commit 793b039691
13 changed files with 541 additions and 9 deletions

View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Aggregate code coverage results for later processing.
set -o pipefail -eu
agent_temp_directory="$1"
PATH="${PWD}/bin:${PATH}"
mkdir "${agent_temp_directory}/coverage/"
options=(--venv --venv-system-site-packages --color -v)
ansible-test coverage combine --export "${agent_temp_directory}/coverage/" "${options[@]}"
ansible-test coverage analyze targets generate "${agent_temp_directory}/coverage/coverage-analyze-targets.json" "${options[@]}"