Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Commit

Permalink
Add tox target for python3 test env
Browse files Browse the repository at this point in the history
As devstack moves towards testing with python3 it would be potentially
useful to run devstack-gate without depending on python2. There are
likely other items that need porting/testing, but this is a start in
that process and makes sure we can test the test-matrix.py script with
python2 and 3.

Change-Id: Ida4906bfebc839bb7a0df11f53966a6b8c45689f
  • Loading branch information
cboylan committed Jan 7, 2017
1 parent 6d8b7d9 commit 20d9f85
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ deps = -r{toxinidir}/test-requirements.txt
commands =
bash -c "./run-tests.sh"

[testenv:py3-run-tests]
basepython = python3
deps = -r{toxinidir}/test-requirements.txt
commands =
bash -c "./run-tests.sh"

[testenv:bashate]
deps=
{env:BASHATE_INSTALL_PATH:bashate==0.5.0}
Expand Down

0 comments on commit 20d9f85

Please sign in to comment.