File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -81,18 +81,26 @@ jobs:
8181 run : |
8282 localstack logs
8383
84- - name : Stop LocalStack
84+ - name : Ensure Docker is available for Testcontainers
8585 run : |
86- localstack stop
86+ sudo systemctl start docker || true
87+ docker version
88+ docker info
8789
8890 - name : Run Testcontainers tests
8991 env :
9092 AWS_ACCESS_KEY_ID : test
9193 AWS_SECRET_ACCESS_KEY : test
9294 AWS_REGION : us-east-1
95+ DOCKER_HOST : unix:///var/run/docker.sock
9396 run : |
9497 mvn test -Dtest=dev.ancaghenade.shipmentlistdemo.integrationtests.ShipmentServiceIntegrationTest
9598
99+ - name : Stop LocalStack
100+ if : always()
101+ run : |
102+ localstack stop
103+
96104 - name : Send a Slack notification
97105 if : failure() || github.event_name != 'pull_request'
98106 uses : ravsamhq/notify-slack-action@v2
You can’t perform that action at this time.
0 commit comments