Commit Graph

6 Commits

Author SHA1 Message Date
Samuel Walladge f3a72cdc9f Update jobs to fix the CI
- remove old / deprecated zuul jobs
- update to the latest rolling python3 jobs
- update tox based on tox4 fixes
- update tox python targets
- add the platform mocking patch - copy from https://review.opendev.org/c/openstack/charm-nova-compute-nvidia-vgpu/+/899177/2/unit_tests/__init__.py

Change-Id: If77436f4c27cf719907a2888d5b1e9e6c7eb3f7c
2023-11-06 10:15:38 +10:30
inspurericzhang 3fad300b7f Switch to Ussuri jobs
Change-Id: I589aadb2e73adefbab62c705d28a81732206d32a
2019-10-31 17:51:43 +08:00
Corey Bryant 0a4425b371 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: Ie5ed4bc0b8c1ecf1c870b9d7d1147c32950eec28
Story: #2005924
Task: #34228
2019-07-30 10:18:54 -04:00
Paul Goins b035ee30f1 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: Ia0f190f7de273290d01091fd9211a4bbdb688be5
2019-03-01 14:40:18 +01:00
Frode Nordahl 7c2e09450a
Fix Python3.4 compability
Add Zuul unit test job

Change-Id: I2dbcd27db0d1791c06c212b07f23d1f26e1fd5ad
Closes-Bug: #1814218
2019-02-01 14:37:33 +01:00
Doug Hellmann 68cb818c24 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: I15f8fc216f5bddf9cd1cd29f2c1347f60ed0bee1
Story: #2002586
Task: #24317
2018-09-11 13:11:47 -04:00