Skip to content

Commit 6593b2f

Browse files
.
1 parent 01d67f8 commit 6593b2f

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/test-integrations-cloud.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,16 @@ jobs:
3838
# ubuntu-20.04 is the last version that supported python3.6
3939
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
4040
os: [ubuntu-22.04]
41-
# Use Docker container for Python 3.6 and 3.8
42-
container: ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.8') && format('python:{0}', matrix.python-version) || null }}
41+
services:
42+
docker:
43+
image: docker:dind # Required for Docker network management
44+
options: --privileged # Required for Docker-in-Docker operations
45+
# Use Docker container only for Python 3.6
46+
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4347
steps:
4448
- uses: actions/checkout@v6.0.2
4549
- uses: actions/setup-python@v6
46-
if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.8' }}
50+
if: ${{ matrix.python-version != '3.6' }}
4751
with:
4852
python-version: ${{ matrix.python-version }}
4953
allow-prereleases: true

0 commit comments

Comments
 (0)