forked from canonical/kfp-operators
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
27 lines (25 loc) · 864 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
[tox]
skipsdist=True
skip_missing_interpreters = True
envlist = {kfp-api,kfp-persistence,kfp-profile-controller,kfp-schedwf,kfp-ui,kfp-viewer,kfp-viz}-{lint,unit,integration},bundle-integration
[testenv]
allowlist_externals = tox
setenv =
api: CHARM = api
persistence: CHARM = persistence
profile-controller: CHARM = profile-controller
schedwf: CHARM = schedwf
ui: CHARM = ui
viewer: CHARM = viewer
viz: CHARM = viz
fmt: TYPE = fmt
lint: TYPE = lint
unit: TYPE = unit
integration: TYPE = integration
commands =
tox -c charms/kfp-{env:CHARM} -e {env:TYPE} -- {posargs}
[testenv:bundle-integration]
allowlist_externals = echo
commands = echo TODO: Placeholder. Need to switch general integration tests from workflow/integrate.yaml to pytest