Skip to content

Commit ced04a5

Browse files
committed
Add podman as container cli for GitHub Actions
1 parent 3e3ade9 commit ced04a5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ jobs:
5353
matrix:
5454
ubuntu_version: ["24.04"]
5555
python_version: ["3.13"]
56+
container_cli:
57+
- docker
58+
- podman
5659
repo_type:
5760
- base
5861
- conda
@@ -104,6 +107,10 @@ jobs:
104107
105108
- name: Run pytest
106109
run: |
110+
if [ "${{ matrix.container_cli }}" = "podman" ]
111+
then
112+
export DOCKER_HOST=unix://$(podman info --format '{{.Host.RemoteSocket.Path}}')
113+
fi
107114
pytest --verbose --color=yes --durations=10 --cov=repo2docker tests/${{ matrix.repo_type }}
108115
109116
- uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)