Skip to content

Commit

Permalink
Remove duplicate work in snapshot tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lym953 committed Oct 10, 2024
1 parent 18b9985 commit ed27373
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/run_integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ printOutputAndExit() {
fi
}

echo "Setting up for TypeScript stacks"
npx tsc --project tsconfig.json

echo "Setting up for Python"
VERSION=$(jq -r '.version' ../version.json)
cp "$ROOT_DIR/dist/python/datadog-cdk-constructs-v2-$VERSION.tar.gz" stacks/python
Expand All @@ -88,7 +91,6 @@ pip install datadog-cdk-constructs-v2-$VERSION.tar.gz
cd ../..

for ((i = 0; i < ${#STACK_CONFIG_PATHS[@]}; i++)); do
npx tsc --project tsconfig.json
if [[ ${STACK_CONFIG_PATHS[i]} =~ ^typescript/ && ${STACK_CONFIG_PATHS[i]} =~ \.ts$ ]]; then
# Case 1. TypeScript
# Strip the ".ts" suffix
Expand Down

0 comments on commit ed27373

Please sign in to comment.