#!/usr/bin/env bash# Print commandsset-x# Create the integration test environmentdocker-compose -f tests/docker-compose.yml up&# Wait for the environment to be readysleep 10# Run the testsexportDBQ_POSTGRES_HOST="localhost"cargo test --features integration_testsexit_code=$?# Clean updocker-compose -f tests/docker-compose.yml down# Exit with the exit code from the testsexit${exit_code}