Skip to content

Commit 80f22c0

Browse files
Always run integration-only scenarios (#219)
* Always run integration-only tests * newline * Only if api keys Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 3b4749e commit 80f22c0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

run-tests.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,11 @@ if [ "$RERECORD_FAILED_TESTS" == "true" ] && [ "$RESULT" -ne 0 ]; then
2828
RECORD=true python -m pytest -vvv --last-failed
2929
RESULT=$?
3030
fi
31+
32+
# Always run integration-only tests
33+
set -e
34+
if [ "$RECORD" != "none" -a -n $DD_TEST_CLIENT_API_KEY -a -n $DD_TEST_CLIENT_APP_KEY ]; then
35+
RECORD=none python -m pytest -m "integration-only" -vvv
36+
fi
37+
3138
exit $RESULT

0 commit comments

Comments
 (0)