diff --git a/tests_integration/__init__.py b/tests_integration/__init__.py new file mode 100644 index 0000000..f389ea1 --- /dev/null +++ b/tests_integration/__init__.py @@ -0,0 +1 @@ +"""Integration tests root.""" diff --git a/tests_integration/run.py b/tests_integration/run.py new file mode 100644 index 0000000..f818ba6 --- /dev/null +++ b/tests_integration/run.py @@ -0,0 +1,8 @@ +"""Build and run the integration tests.""" + +import os + +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")