Commit 7446a9a
committed
fix: Prevent Docker-in-Docker container startup in GitHub Actions CI
- Fail fast in CI if LocalStack service container is not detected
- Only start Testcontainers in local development environments
- Avoids Docker networking errors in GitHub Actions runners
- Tests now exclusively use the service container in CI
This resolves the 'failed to set up container networking' error by
ensuring tests never attempt to start their own containers when
running in GitHub Actions, where LocalStack is provided as a service.1 parent ba70bba commit 7446a9a
1 file changed
Lines changed: 16 additions & 6 deletions
Lines changed: 16 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
114 | 125 | | |
115 | | - | |
| 126 | + | |
116 | 127 | | |
117 | 128 | | |
118 | 129 | | |
| |||
126 | 137 | | |
127 | 138 | | |
128 | 139 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
133 | 143 | | |
134 | 144 | | |
135 | 145 | | |
| |||
0 commit comments