Skip to content

Commit

Permalink
Add keep-models tox flag for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ratushnyy committed Dec 1, 2023
1 parent 8e02caf commit 6d02fc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ commands =
bash -ec 'microk8s ctr image import {env:name}_*-$(yq .base rockcraft.yaml | \
cut -c 8-)_edge_amd64.rock --base-name {env:registry_namespace}/{env:name}'
bash -ec 'if ! [ -d operator ]; then git clone --single-branch --branch {env:branch} {env:repo} operator; fi' {posargs}
tox --workdir operator -c operator -e integration
tox --workdir operator -c operator -e integration -- --keep-momodels

[testenv:ha-integration]
description = run operator integration tests
Expand All @@ -44,7 +44,7 @@ commands =
bash -ec 'microk8s ctr image import {env:name}_*-$(yq .base rockcraft.yaml | \
cut -c 8-)_edge_amd64.rock --base-name {env:registry_namespace}/{env:name}'
bash -ec 'if ! [ -d operator ]; then git clone --single-branch --branch {env:branch} {env:repo} operator; fi' {posargs}
tox --workdir operator -c operator -e ha-integration
tox --workdir operator -c operator -e ha-integration -- --keep-momodels

[testenv:tls-integration]
description = run operator integration tests
Expand Down

0 comments on commit 6d02fc1

Please sign in to comment.