Skip to content

Commit 97cad6e

Browse files
committed
test
1 parent fa71f51 commit 97cad6e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,7 @@ jobs:
6060
6161
- name: Verify specific aws-cdk version is used by cdklocal
6262
run: |
63-
if [ -n "${{ matrix.cdk-version }}" ]; then
64-
[[ $(cdklocal --version) =~ ^${{ matrix.cdk-version }}.* ]] || exit 1
65-
else
66-
echo "Latest version installed, skipping version verification."
67-
fi
63+
cdklocal --version
6864
6965
- name: Install localstack CLI
7066
run: pip install localstack
@@ -110,4 +106,4 @@ jobs:
110106
111107
- name: Verify successful deployment
112108
run: |
113-
[ $(aws cloudformation describe-stacks --stack-name AppTest --endpoint-url http://localhost:4566 | jq '[ .Stacks[] | select(.StackStatus == "CREATE_COMPLETE") ] | length') -eq 1 ] || exit 1
109+
[ $(aws cloudformation describe-stacks --stack-name $STACK_NAME --endpoint-url http://localhost:4566 | jq '[ .Stacks[] | select(.StackStatus == "CREATE_COMPLETE") ] | length') -eq 1 ] || exit 1

0 commit comments

Comments
 (0)