virtual-deployment/.zuul.yaml
Lindley Werner d65811f2d5 Adding unit tests in pybox python scripts.
Enabling automatic tests with tox and zuul for each new patchset.

To see the unit test logs, go to:
  1- Zuul Summary
  2- tox-unittests
  3- Logs
  4- job-output.txt

Test Plan:
PASS: Run "tox -e unittests" in the terminal, this will:
  - Set the PYTHONPATH environment variable
  - Run the tests
  - Show the coverage report

Task: 47929
Story: 2005051

Change-Id: I7f527860f3498c53b28691c654035d017d70f68b
Signed-off-by: Lindley Werner <lindley.vieira@encora.com>
2023-07-03 15:37:12 -03:00

22 lines
386 B
YAML

---
- project:
templates:
- noop-jobs
check:
jobs:
- openstack-tox-linters
- openstack-tox-pylint
- tox-unittests
gate:
jobs:
- openstack-tox-linters
- openstack-tox-pylint
- tox-unittests
- job:
name: tox-unittests
parent: tox
description: Run unit tests
vars:
tox_envlist: unittests