Run integration tests on all db types

This commit is contained in:
Donkie
2023-05-21 23:38:41 +02:00
parent ba6fb62c7b
commit 5e75d6d70e
5 changed files with 92 additions and 1 deletions

View File

@@ -6,3 +6,9 @@ os.system("docker build -t donkie/spoolman:test .")
os.system("docker build -t donkie/spoolman-tester:latest tests_integration")
os.system("docker-compose -f tests_integration/docker-compose-postgres.yml down -v")
os.system("docker-compose -f tests_integration/docker-compose-postgres.yml up --abort-on-container-exit")
os.system("docker-compose -f tests_integration/docker-compose-sqlite.yml down -v")
os.system("docker-compose -f tests_integration/docker-compose-sqlite.yml up --abort-on-container-exit")
os.system("docker-compose -f tests_integration/docker-compose-mariadb.yml down -v")
os.system("docker-compose -f tests_integration/docker-compose-mariadb.yml up --abort-on-container-exit")
os.system("docker-compose -f tests_integration/docker-compose-cockroachdb.yml down -v")
os.system("docker-compose -f tests_integration/docker-compose-cockroachdb.yml up --abort-on-container-exit")