File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -88,12 +88,16 @@ jobs:
88
88
charmcraft-channel : 3.x/stable
89
89
90
90
- run : |
91
- sg snap_microk8s -c "tox -e ${{ matrix.charm }}-integration"
91
+ sg snap_microk8s -c "tox -e ${{ matrix.charm }}-integration -- -- --model testing "
92
92
93
93
# Collect debug logs if failed
94
94
- name : Dump Juju/k8s logs on failure
95
95
uses : canonical/kubeflow-ci/actions/dump-charm-debug-artifacts@main
96
- if : always()
96
+ if : failure()
97
+
98
+ - name : Dump logs
99
+ if : failure()
100
+ uses : canonical/charming-actions/dump-logs@2.6.3
97
101
98
102
test-bundle :
99
103
name : Test the bundle
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ setenv =
23
23
lint: TYPE = lint
24
24
integration: TYPE = integration
25
25
commands =
26
- tox -c charms/katib-{env:CHARM} -e {env:TYPE}
26
+ tox -c charms/katib-{env:CHARM} -e {env:TYPE} {posargs}
27
27
28
28
[testenv:update-requirements]
29
29
allowlist_externals =
@@ -66,4 +66,4 @@ description = Check code against coding style standards
66
66
[testenv:bundle-integration]
67
67
commands = pytest -v --tb native --show-capture =no --log-cli-level =INFO -s {posargs} {toxinidir}/tests/integration
68
68
deps =
69
- -r requirements-integration.txt
69
+ -r requirements-integration.txt
You can’t perform that action at this time.
0 commit comments