Merge pull request #278 from hcooper/patch-1

Switch tests from "docker-compose" to "docker compose"
This commit is contained in:
Donkie
2024-01-23 18:14:46 +01:00
committed by GitHub

View File

@@ -35,9 +35,9 @@ if __name__ == "__main__":
for target in targets:
print(f"Running integration tests against {target}...")
os.system(f"docker-compose -f tests_integration/docker-compose-{target}.yml down -v")
os.system(f"docker compose -f tests_integration/docker-compose-{target}.yml down -v")
if (
os.system(f"docker-compose -f tests_integration/docker-compose-{target}.yml up --abort-on-container-exit")
os.system(f"docker compose -f tests_integration/docker-compose-{target}.yml up --abort-on-container-exit")
> 0
):
print(f"Integration tests against {target} failed!")