Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.

Include sample scenario in testing #74

Merged
merged 1 commit into from
Aug 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ jobs:
- tox_env: lint
# - tox_env: docs
- tox_env: py36-ansible29
PREFIX: PYTEST_REQPASS=3
PREFIX: PYTEST_REQPASS=4
- tox_env: py36-ansible210
PREFIX: PYTEST_REQPASS=3
PREFIX: PYTEST_REQPASS=4
- tox_env: py36-ansible211
PREFIX: PYTEST_REQPASS=3
PREFIX: PYTEST_REQPASS=4
- tox_env: py37-ansible211
PREFIX: PYTEST_REQPASS=3
PREFIX: PYTEST_REQPASS=4
- tox_env: py38-ansible211
PREFIX: PYTEST_REQPASS=3
PREFIX: PYTEST_REQPASS=4
- tox_env: py39-ansible211
PREFIX: PYTEST_REQPASS=3
PREFIX: PYTEST_REQPASS=4
- tox_env: py39-devel-ansible211
PREFIX: PYTEST_REQPASS=3
PREFIX: PYTEST_REQPASS=4
- tox_env: packaging

steps:
Expand Down
6 changes: 6 additions & 0 deletions src/molecule_podman/test/test_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ def test_command_init_scenario(tmp_path: pathlib.Path):
assert result.returncode == 0


def test_sample() -> None:
"""Runs the sample scenario present at the repository root."""
result = run_command(["molecule", "test"]) # default sceanario
assert result.returncode == 0


def test_dockerfile():
"""Verify that our embedded dockerfile can be build."""
result = subprocess.run(
Expand Down