File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 33set -e
44set -o pipefail
55
6+ echo " Keywords expression for pytest (PYTEST_EXTRA_KEYWORDS): -k '$PYTEST_KEYWORDS '"
7+ echo " Extra args for pytest (PYTEST_EXTRA_ARGS): $PYTEST_EXTRA_ARGS "
68python -m venv ./venv
79source ./venv/bin/activate
810pip install ' .[test]'
@@ -33,5 +35,5 @@ pytest \
3335 -o sagemaker_role=" $SAGEMAKER_ROLE " \
3436 -o sns_notification_topic_arn=" $SNS_NOTIFICATION_TOPIC_ARN " \
3537 --profile --profile-svg \
36- $PYTEST_EXTRA_ARGS
38+ -k " $PYTEST_KEYWORDS " $PYTEST_EXTRA_ARGS
3739cd -
Original file line number Diff line number Diff line change 33set -e
44set -o pipefail
55
6+ echo " Keywords expression for pytest (PYTEST_EXTRA_KEYWORDS): -k '$PYTEST_KEYWORDS '"
67echo " Extra args for pytest (PYTEST_EXTRA_ARGS): $PYTEST_EXTRA_ARGS "
78cat /etc/hosts
89bash ./compare_release_src.sh
@@ -98,7 +99,7 @@ coverage run -m pytest \
9899 -o vpc_only_security_group=" $VPC_ONLY_SECURITY_GROUP " \
99100 -o sagemaker_role=" $SAGEMAKER_ROLE " \
100101 -o sns_notification_topic_arn=" $SNS_NOTIFICATION_TOPIC_ARN " \
101- $PYTEST_EXTRA_ARGS || EXIT_CODE=$?
102+ -k " $PYTEST_KEYWORDS " $PYTEST_EXTRA_ARGS || EXIT_CODE=$?
102103coverage xml
103104coverage html --show-contexts
104105cd -
You can’t perform that action at this time.
0 commit comments