Commit Graph

4 Commits

Author SHA1 Message Date
Ghanshyam Mann 81ace899f8 [ussuri][goal] Updates for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

charm repos need few updates on either py2 drop or updating
ussuri python template, tox.ini etc.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I860b169528a7130a6c755ad494f6b3db08ea6aee
2020-03-24 17:31:29 +00:00
Corey Bryant f6d8ce78bb Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Note that python35-charm-jobs is retained since this charm is supported
on Xenial.

Change-Id: I3db9bd4e4b3b09b321f250eaa1bf33f6c7e3a229
Story: #2005924
Task: #34228
2019-07-30 10:15:52 -04:00
Paul Goins 59f211c065 Added tox environment for gathering coverage
This technique was borrowed from the tox "cover" environment in
openstack/nova's tox.ini.  This leverages the fact that stestr lets
you override the python executable via the PYTHON environment
variable.  Doing this allows us to easily generate coverage for our
unit tests.

An important caveat is that this does not provide any coverage for
tests via zaza, amulet, etc.  It is purely focused on the unit tests.

Note that this replaces the previous .coveragerc; coverage
configuration is instead pulled from tox.ini.

Change-Id: I4056a0afd0a09d6d7e45b443c13fd39fa41fa3c0
2019-03-01 11:38:53 +01:00
Frode Nordahl bd8934f648
Re-add gate jobs, enabling py3 gate
Add .gitignore

Remove .travis.yml

Change-Id: I8313c1231f1ec7edfe3cc85f6447d8d589cfd0e3
2018-10-12 13:14:45 +02:00