ansible/.azure-pipelines/scripts/report-coverage.sh
2020-12-02 13:40:01 -08:00

8 lines
230 B
Bash
Executable file

#!/usr/bin/env bash
# Generate code coverage reports for uploading to Azure Pipelines and codecov.io.
set -o pipefail -eu
PATH="${PWD}/bin:${PATH}"
ansible-test coverage xml --stub --venv --venv-system-site-packages --color -v