Skip to content

Commit

Permalink
remove all other test groups - should be one test group
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri committed Feb 9, 2024
1 parent d19ebda commit 38c487e
Showing 1 changed file with 0 additions and 190 deletions.
190 changes: 0 additions & 190 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -67,196 +67,6 @@ commands =
-m pytest -v --tb native -s {posargs} {[vars]tests_path}/unit
coverage report

[testenv:charm-integration]
description = Run charm integration tests
pass_env =
{[testenv]pass_env}
CI
GITHUB_OUTPUT
deps =
pytest
juju==3.2.0.1
pytest-operator
protobuf==3.20 # temporary fix until new libjuju is released
pytest-mock
git+https://github.com/canonical/data-platform-workflows@v8\#subdirectory=python/pytest_plugins/pytest_operator_cache
-r {tox_root}/requirements.txt
commands =
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/test_charm.py

[testenv:ha-integration]
description = Run high availability integration tests
pass_env =
{[testenv]pass_env}
CI
GITHUB_OUTPUT
deps =
pytest
juju==3.2.0.1
pytest-mock
pytest-operator
protobuf==3.20 # temporary fix until new libjuju is released
git+https://github.com/canonical/data-platform-workflows@v8\#subdirectory=python/pytest_plugins/pytest_operator_cache
-r {tox_root}/requirements.txt
commands =
pytest -vvv --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/ha_tests/test_ha.py

[testenv:relation-integration]
description = Run new relation integration tests
pass_env =
{[testenv]pass_env}
CI
GITHUB_OUTPUT
deps =
pytest
juju==3.2.0.1
pytest-mock
pytest-operator
protobuf==3.20 # temporary fix until new libjuju is released
git+https://github.com/canonical/data-platform-workflows@v8\#subdirectory=python/pytest_plugins/pytest_operator_cache
-r {tox_root}/requirements.txt
commands =
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/relation_tests/new_relations/test_charm_relations.py

[testenv:legacy-integration]
description = Run legacy relation integration tests
pass_env =
{[testenv]pass_env}
CI
GITHUB_OUTPUT
deps =
pytest
juju==3.2.0.1
pytest-mock
pytest-operator
protobuf==3.20 # temporary fix until new libjuju is released
git+https://github.com/canonical/data-platform-workflows@v8\#subdirectory=python/pytest_plugins/pytest_operator_cache
-r {tox_root}/requirements.txt
commands =
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/relation_tests/legacy_relations/test_charm_legacy_relations.py

[testenv:tls-integration]
description = Run tls integration tests
pass_env =
{[testenv]pass_env}
CI
GITHUB_OUTPUT
deps =
pytest
juju==3.2.0.1
pytest-mock
pytest-operator
protobuf==3.20 # temporary fix until new libjuju is released
git+https://github.com/canonical/data-platform-workflows@v8\#subdirectory=python/pytest_plugins/pytest_operator_cache
-r {tox_root}/requirements.txt
commands =
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/tls_tests/test_tls.py


[testenv:backup-integration]
description = Run backup integration tests
pass_env =
{[testenv]pass_env}
CI
GITHUB_OUTPUT
SECRETS_FROM_GITHUB
deps =
pytest
juju==3.2.0.1
pytest-mock
pytest-operator
protobuf==3.20 # temporary fix until new libjuju is released
git+https://github.com/canonical/data-platform-workflows@v8\#subdirectory=python/pytest_plugins/pytest_operator_cache
-r {tox_root}/requirements.txt
commands =
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/backup_tests/test_backups.py

[testenv:metric-integration]
description = Run metrics integration tests
pass_env =
{[testenv]pass_env}
CI
GITHUB_OUTPUT
deps =
pytest
juju==3.2.0.1
pytest-mock
pytest-operator
protobuf==3.20 # temporary fix until new libjuju is released
git+https://github.com/canonical/data-platform-workflows@v8\#subdirectory=python/pytest_plugins/pytest_operator_cache
-r {tox_root}/requirements.txt
commands =
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/metrics_tests/test_metrics.py

[testenv:sharding-integration]
description = Run sharding integration tests
pass_env =
{[testenv]pass_env}
CI
GITHUB_OUTPUT
deps =
pytest
juju==3.2.0.1
pytest-mock
pytest-operator
protobuf==3.20 # temporary fix until new libjuju is released
git+https://github.com/canonical/data-platform-workflows@v8\#subdirectory=python/pytest_plugins/pytest_operator_cache
-r {tox_root}/requirements.txt
commands =
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/sharding_tests/test_sharding.py

[testenv:sharding-relation-integration]
description = Run sharding integration tests
pass_env =
{[testenv]pass_env}
CI
GITHUB_OUTPUT
deps =
pytest
juju==3.2.0.1
pytest-mock
pytest-operator
protobuf==3.20 # temporary fix until new libjuju is released
git+https://github.com/canonical/data-platform-workflows@v8\#subdirectory=python/pytest_plugins/pytest_operator_cache
-r {tox_root}/requirements.txt
commands =
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/sharding_tests/test_sharding_relations.py

[testenv:sharding-race-conditions-integration]
description = Run sharding race condition tests
pass_env =
{[testenv]pass_env}
CI
GITHUB_OUTPUT
deps =
pytest
juju==3.2.0.1
pytest-mock
pytest-operator
protobuf==3.20 # temporary fix until new libjuju is released
git+https://github.com/canonical/data-platform-workflows@v8\#subdirectory=python/pytest_plugins/pytest_operator_cache
-r {tox_root}/requirements.txt
commands =
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/sharding_tests/test_sharding_race_conds.py

[testenv:sharding-mongos-integration]
description = Run sharding mongos tests
pass_env =
{[testenv]pass_env}
CI
GITHUB_OUTPUT
deps =
pytest
juju==3.2.0.1
pytest-mock
pytest-operator
protobuf==3.20 # temporary fix until new libjuju is released
git+https://github.com/canonical/data-platform-workflows@v8\#subdirectory=python/pytest_plugins/pytest_operator_cache
-r {tox_root}/requirements.txt
commands =
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/sharding_tests/test_mongos.py


[testenv:integration]
description = Run all integration tests
set_env =
Expand Down

0 comments on commit 38c487e

Please sign in to comment.