|
@@ -66,14 +66,14 @@ test:
|
|
|
|
|
|
|
|
|
|
|
|
|
# run doc tests
|
|
# run doc tests
|
|
|
-test-pure db="memory": build
|
|
|
|
|
|
|
+test-pure db="memory":
|
|
|
#!/usr/bin/env bash
|
|
#!/usr/bin/env bash
|
|
|
set -euo pipefail
|
|
set -euo pipefail
|
|
|
if [ ! -f Cargo.toml ]; then
|
|
if [ ! -f Cargo.toml ]; then
|
|
|
cd {{invocation_directory()}}
|
|
cd {{invocation_directory()}}
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
- # Run pure integration tests
|
|
|
|
|
|
|
+ # Run pure integration tests (cargo test will only build what's needed for the test)
|
|
|
CDK_TEST_DB_TYPE={{db}} cargo test -p cdk-integration-tests --test integration_tests_pure -- --test-threads 1
|
|
CDK_TEST_DB_TYPE={{db}} cargo test -p cdk-integration-tests --test integration_tests_pure -- --test-threads 1
|
|
|
|
|
|
|
|
test-all db="memory":
|
|
test-all db="memory":
|