diff --git a/tests/enmeshed-runtime.sh b/tests/enmeshed-runtime.sh new file mode 100755 index 000000000..89ee945f1 --- /dev/null +++ b/tests/enmeshed-runtime.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +set -ex + +npm i + +env CONNECTION_STRING=mongodb://localhost:27017 npx jest -i diff --git a/tests/enmeshed-runtime.yml b/tests/enmeshed-runtime.yml index 6f76ab6b6..bdc0b3af4 100644 --- a/tests/enmeshed-runtime.yml +++ b/tests/enmeshed-runtime.yml @@ -1,6 +1,6 @@ --- runner: command -args: ["sh", "-c", "npm i && CONNECTION_STRING=mongodb://localhost:27017 npx jest -i"] +args: ../enmeshed-runtime.sh results: common: diff --git a/tests/python-example-auth.sh b/tests/python-example-auth.sh new file mode 100755 index 000000000..b78eff407 --- /dev/null +++ b/tests/python-example-auth.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +set -ex + +pip3 install pymongo + +python3 pymongo_test.py mongodb://user:password@localhost:27017/?authMechanism=PLAIN diff --git a/tests/python-example-auth.yml b/tests/python-example-auth.yml index a4a41dcf4..0855fbe58 100644 --- a/tests/python-example-auth.yml +++ b/tests/python-example-auth.yml @@ -1,7 +1,7 @@ --- runner: command dir: python-example -args: ["sh", "-c", "pip3 install pymongo && python3 pymongo_test.py mongodb://user:password@localhost:27017/?authMechanism=PLAIN"] +args: ../python-example-auth.sh results: ferretdb: diff --git a/tests/python-example.sh b/tests/python-example.sh new file mode 100755 index 000000000..8c22f9c08 --- /dev/null +++ b/tests/python-example.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +set -ex + +pip3 install pymongo + +python3 pymongo_test.py mongodb://localhost:27017/ diff --git a/tests/python-example.yml b/tests/python-example.yml index 7bfcad218..46a4f3711 100644 --- a/tests/python-example.yml +++ b/tests/python-example.yml @@ -1,7 +1,7 @@ --- runner: command dir: python-example -args: ["sh", "-c", "pip3 install pymongo && python3 pymongo_test.py mongodb://localhost:27017/"] +args: ../python-example.sh results: common: