Run unit tests for all Python versions in one CI node (#133)

* Run unit tests for all Python versions in one CI node.

* Linting.
This commit is contained in:
Felix Fontein
2020-10-29 15:03:35 +01:00
committed by GitHub
parent 92bc17463a
commit 7559e912f1
2 changed files with 4 additions and 17 deletions

View File

@@ -2,11 +2,6 @@
set -o pipefail -eux
declare -a args
IFS='/:' read -ra args <<< "$1"
version="${args[1]}"
if [[ "${COVERAGE:-}" == "--coverage" ]]; then
timeout=90
else
@@ -16,4 +11,4 @@ fi
ansible-test env --timeout "${timeout}" --color -v
# shellcheck disable=SC2086
ansible-test units --color -v --docker default --python "${version}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \
ansible-test units --color -v --docker default ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \