Dynamically add meta/runtime.yml redirects before integration tests. (#2633)
ci_coveragepull/2869/head
parent
d6d0b6f0c1
commit
07085785a3
|
@ -97,6 +97,13 @@ fi
|
|||
|
||||
# END: HACK
|
||||
|
||||
if [ "${script}" != "sanity" ] && [ "${script}" != "units" ]; then
|
||||
# Adds meta/runtime.yml redirects for all modules before running integration tests.
|
||||
# This ensures that ansible-base and ansible-core will use the "real" modules instead of the
|
||||
# symbolic links, which results in coverage to be reported correctly.
|
||||
"${ANSIBLE_COLLECTIONS_PATHS}/ansible_collections/community/internal_test_tools/tools/meta_runtime.py" redirect --target both --flatmap
|
||||
fi
|
||||
|
||||
export PYTHONIOENCODING='utf-8'
|
||||
|
||||
if [ "${JOB_TRIGGERED_BY_NAME:-}" == "nightly-trigger" ]; then
|
||||
|
|
Loading…
Reference in New Issue