Skip to content

Commit 32a708f

Browse files
committed
feat: run integration tests on CI
1 parent 7378440 commit 32a708f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/run-integration-test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ jobs:
3434
role-session-name: ${{ secrets.ROLE_SESSION_NAME }}
3535
aws-region: ${{ secrets.AWS_REGION }}
3636
- name: build stack
37-
run: cd lambda-integration-tests-ci && sam build --beta-features
37+
run: cd lambda-integration-tests && sam build --beta-features
3838
- name: validate stack
39-
run: cd lambda-integration-tests-ci && sam validate --lint
39+
run: cd lambda-integration-tests && sam validate --lint
4040
- name: deploy stack
4141
id: deploy_stack
4242
env:
4343
AWS_REGION: ${{ secrets.AWS_REGION }}
4444
run: |
45-
cd lambda-integration-tests-ci
45+
cd lambda-integration-tests
4646
stackName="aws-lambda-rust-integ-test-$GITHUB_RUN_ID"
4747
echo "STACK_NAME=$stackName" >> "$GITHUB_OUTPUT"
4848
echo "Stack name = $stackName"
@@ -53,7 +53,7 @@ jobs:
5353
env:
5454
SECRET_TOKEN: ${{ secrets.SECRET_TOKEN }}
5555
TEST_ENDPOINT: ${{ steps.deploy_stack.outputs.TEST_ENDPOINT }}
56-
run: cd lambda-integration-tests-ci && cargo test
56+
run: cd lambda-integration-tests && cargo test
5757
- name: cleanup
5858
if: always()
5959
env:

0 commit comments

Comments
 (0)