pulumi/sdk/python/scripts/test_auto.sh

14 lines
289 B
Bash
Executable File

#!/usr/bin/env bash
PULUMI_TEST_COVERAGE_PATH=$PULUMI_TEST_COVERAGE_PATH
set -euo pipefail
coverage run -m pytest lib/test/automation
if [[ "$PULUMI_TEST_COVERAGE_PATH" ]]; then
if [ -e .coverage ]; then
coverage xml -o $PULUMI_TEST_COVERAGE_PATH/python-fast.xml
fi
fi