Commit Graph

7 Commits

Author SHA1 Message Date
Chris MacNaughton 1a81c4416c Add support for interim Ubuntu releases
- update bundles to include UCA pocket tests
- update test configuration
- update metadata to include kinetic and lunar
- update snapcraft to allow run-on for kinetic and lunar

Change-Id: I6b229b502dd4ee9f1d219240b86f7826abf0c25d
2023-03-17 08:56:03 -04:00
Chris MacNaughton 33de6e614f bump testing to yoga alignment
Change-Id: I2d0d3d799f0d48f2785dd9a6cf8b27d518665395
2022-10-03 11:13:58 -04:00
James Page e2d8f32d31 Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: Idffdcf1153821c3d9514f3410e5609ea8c99fe74
2021-12-16 09:37:23 +00:00
ShangXiao a3aba54abe Switch to Ussuri jobs
Change-Id: I94bf717b40cac6298fece0d08f74b756b937b8fd
2019-12-10 09:58:21 +08:00
Corey Bryant a5711a0c19 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: I51693cd7d535f2b5acb5ba118951f466ef7ac51f
Story: #2005924
Task: #34228
2019-07-30 10:17:59 -04:00
Paul Goins e3bf76a1c4 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: Idedc9707c2670825e2307ffacf40496d52f03d13
2019-03-01 14:38:45 +01:00
Doug Hellmann 9779c0a642 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Iac180889d86d0d336e3060561751781b18e81957
Story: #2002586
Task: #24317
2018-09-11 13:07:08 -04:00