File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,28 +34,17 @@ jobs:
3434 test :
3535 name : Test
3636 runs-on : ubuntu-latest
37- services :
38- localstack :
39- image : localstack/localstack:latest
40- ports :
41- - 4566:4566
42- options : >-
43- --health-cmd "curl -f http://localhost:4566/_localstack/health || exit 1"
44- --health-interval 10s
45- --health-timeout 5s
46- --health-retries 5
4737 steps :
4838 - uses : actions/checkout@v4
4939 - uses : actions-rs/toolchain@v1
5040 with :
5141 toolchain : stable
5242 override : true
53- - name : Wait for Localstack
54- run : |
55- until curl -s http://localhost:4566/_localstack/health | grep "\"s3\": \"running\""; do
56- echo "Waiting for Localstack S3..."
57- sleep 5
58- done
43+ - name : Start LocalStack
44+ uses :
LocalStack/[email protected] 45+ with :
46+ image-tag : ' latest'
47+ install-awslocal : ' false'
5948 - name : Run tests
6049 env :
6150 AWS_ACCESS_KEY_ID : test
You can’t perform that action at this time.
0 commit comments