diff options
author | Matt Clay <matt@mystile.com> | 2022-02-16 17:17:25 -0800 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2022-02-16 23:33:49 -0800 |
commit | 177336a9d33a395cf77098a65f59e0fc449ecaad (patch) | |
tree | 5830eb1b89389899d33e00cc7fa4e272d73af88d /.azure-pipelines | |
parent | 13d5381e56129249a5152dc4d20ca7cb18b4b3ed (diff) | |
download | ansible-177336a9d33a395cf77098a65f59e0fc449ecaad.tar.gz |
Avoid system-site-packages in AZP coverage venvs.
The use of `--venv-system-site-packages` was an optimization to use the `coverage` package pre-installed in the AZP test container.
However, now that the venv is bootstrapped by ansible-test that optimization no longer makes sense, since other downloads are already taking place.
ci_coverage
ci_complete
Diffstat (limited to '.azure-pipelines')
-rwxr-xr-x | .azure-pipelines/scripts/aggregate-coverage.sh | 2 | ||||
-rwxr-xr-x | .azure-pipelines/scripts/report-coverage.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.azure-pipelines/scripts/aggregate-coverage.sh b/.azure-pipelines/scripts/aggregate-coverage.sh index 1ccfcf2073..cb2f017794 100755 --- a/.azure-pipelines/scripts/aggregate-coverage.sh +++ b/.azure-pipelines/scripts/aggregate-coverage.sh @@ -9,7 +9,7 @@ PATH="${PWD}/bin:${PATH}" mkdir "${agent_temp_directory}/coverage/" -options=(--venv --venv-system-site-packages --color -v) +options=(--venv --color -v) ansible-test coverage combine --group-by command --export "${agent_temp_directory}/coverage/" "${options[@]}" diff --git a/.azure-pipelines/scripts/report-coverage.sh b/.azure-pipelines/scripts/report-coverage.sh index 297169d9f9..4db905eae2 100755 --- a/.azure-pipelines/scripts/report-coverage.sh +++ b/.azure-pipelines/scripts/report-coverage.sh @@ -14,4 +14,4 @@ fi # Generate stubs using docker (if supported) otherwise fall back to using a virtual environment instead. # The use of docker is required when Powershell code is present, but Ansible 2.12 was the first version to support --docker with coverage. -ansible-test coverage xml --group-by command --stub --docker --color -v || ansible-test coverage xml --group-by command --stub --venv --venv-system-site-packages --color -v +ansible-test coverage xml --group-by command --stub --docker --color -v || ansible-test coverage xml --group-by command --stub --venv --color -v |