ci-automation/test.sh: export PARALLEL_TESTS

Export PARALLEL_TESTS in the container's .env file to ensure it is
passed to the vendor script.
This commit is contained in:
Thilo Fromm 2022-03-23 12:09:04 +01:00
parent 434d305c89
commit 1e0dc777fe

View File

@ -145,7 +145,7 @@ function test_run() {
# Pass PARALLEL_TESTS to the container
if [ -n "${PARALLEL_TESTS-}" ] ; then
echo "PARALLEL_TESTS=\"${PARALLEL_TESTS}\"" > sdk_container/.env
echo "export PARALLEL_TESTS=\"${PARALLEL_TESTS}\"" > sdk_container/.env
echo "rm -f 'sdk_container/.env'" >> ./ci-cleanup.sh
fi