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

Commit

Permalink
Include sample scenario in testing (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Aug 27, 2021
1 parent 4ccdd96 commit 1b0f2e9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
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

0 comments on commit 1b0f2e9

Please sign in to comment.