mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 06:11:26 -07:00
Skip Ansible 2.9 coverage reporting with new AZP container. (#4841)
ci_coverage
This commit is contained in:
parent
141f32c78b
commit
48fbd69835
2 changed files with 8 additions and 0 deletions
|
@ -9,6 +9,10 @@ PATH="${PWD}/bin:${PATH}"
|
|||
|
||||
mkdir "${agent_temp_directory}/coverage/"
|
||||
|
||||
if [[ "$(ansible --version)" =~ \ 2\.9\. ]]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
options=(--venv --venv-system-site-packages --color -v)
|
||||
|
||||
ansible-test coverage combine --group-by command --export "${agent_temp_directory}/coverage/" "${options[@]}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue