mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-29 16:11:26 -07:00
Add a verify stage at setup of test to assert all version are correct
This commit is contained in:
parent
b24249d39a
commit
6bc293a022
5 changed files with 72 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -4,6 +4,8 @@ SHELL := /bin/bash
|
|||
test-integration:
|
||||
echo -n $(db_engine_version) > tests/integration/db_engine_version
|
||||
echo -n $(connector) > tests/integration/connector
|
||||
echo -n $(python) > tests/integration/python
|
||||
echo -n $(ansible) > tests/integration/ansible
|
||||
podman run \
|
||||
--detach \
|
||||
--name primary \
|
||||
|
@ -55,6 +57,8 @@ test-integration:
|
|||
# -set -x; ansible-test integration $(target) -v --color --coverage --diff --docker $(docker_image) --docker-network podman --docker-terminate never --python $(python); set +x
|
||||
rm tests/integration/db_engine_version
|
||||
rm tests/integration/connector
|
||||
rm tests/integration/python
|
||||
rm tests/integration/ansible
|
||||
podman stop --time 0 --ignore primary
|
||||
podman stop --time 0 --ignore replica1
|
||||
podman stop --time 0 --ignore replica2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue