Skip to content

Commit

Permalink
Merge pull request #154 from staticdev/tests/molecule-podman
Browse files Browse the repository at this point in the history
Add podman tests
  • Loading branch information
staticdev authored Apr 22, 2023
2 parents 9c551a3 + 4728833 commit f78695a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Install test dependencies
run: |
python3 -m pip install --constraint=.github/workflows/constraints.txt ansible molecule[docker] docker
python3 -m pip install --constraint=.github/workflows/constraints.txt ansible 'molecule-plugins[podman]' podman
- name: Run Molecule tests
run: molecule test
Expand Down
6 changes: 3 additions & 3 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
dependency:
name: galaxy
driver:
name: docker
name: podman
platforms:
- name: instance
image: "geerlingguy/docker-${MOLECULE_DISTRO:-debian11}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
image: "docker.io/geerlingguy/docker-${MOLECULE_DISTRO:-debian11}-ansible:latest"
command: ${MOLECULE_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
Expand Down

0 comments on commit f78695a

Please sign in to comment.