Update Python versions used to run network tests. (#74647)

This commit is contained in:
Matt Clay 2021-05-10 15:06:09 -07:00 committed by GitHub
parent d85809d592
commit bdffb59978
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 8 deletions

View file

@ -227,10 +227,8 @@ stages:
targets: targets:
- name: IOS Python - name: IOS Python
test: ios/csr1000v/ test: ios/csr1000v/
- name: VyOS Python 2.7 - name: VyOS Python
test: vyos/1.1.8/2.7 test: vyos/1.1.8/
- name: VyOS Python 3.6
test: vyos/1.1.8/3.6
- name: AWS Python 2.7 - name: AWS Python 2.7
test: aws/2.7 test: aws/2.7
- name: AWS Python 3.6 - name: AWS Python 3.6

View file

@ -16,10 +16,8 @@ provider="${P:-default}"
# python versions to test in order # python versions to test in order
# all versions run full tests # all versions run full tests
python_versions=( IFS=' ' read -r -a python_versions <<< \
2.7 "$(PYTHONPATH="${PWD}/test/lib" python -c 'from ansible_test._internal import util; print(" ".join(util.CONTROLLER_PYTHON_VERSIONS))')"
3.6
)
if [ "${python_version}" ]; then if [ "${python_version}" ]; then
# limit tests to a single python version # limit tests to a single python version