mirror of
https://github.com/Donkie/Spoolman.git
synced 2026-10-22 01:52:17 -05:00
Added script to easily run integration tests locally
This commit is contained in:
1 parent
89cff893aa
commit
6bc9c3c4fa
2 files changed
+9
No files matched your search
@@ -0,0 +1 @@
|
||||
"""Integration tests root."""
|
||||
@@ -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")
|
||||
Reference in new issue
Block a user