Skip to content

Commit bc825d5

Browse files
committed
Mark cookiecutter tests
By doing so we can easily exclude cookiecutter tests from cross-arch tests, as we don't really create project in arm64 yet, so it's not strictly necessary to have it tested, and test in arm64 take too long as they need to run in a emulator. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent a0c673a commit bc825d5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ ignore_missing_imports = true
185185
testpaths = ["src", "tests"]
186186
markers = [
187187
"integration: integration tests (deselect with '-m \"not integration\"')",
188+
"cookiecutter: integration tests (deselect with '-m \"not cookiecutter\"')",
188189
]
189190

190191
[tool.setuptools_scm]

tests/integration/test_cookiecutter_generation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828

2929
@pytest.mark.integration
30+
@pytest.mark.cookiecutter
3031
@pytest.mark.parametrize("repo_type", [*config.RepositoryType])
3132
def test_golden(
3233
tmp_path: pathlib.Path,
@@ -66,6 +67,7 @@ def test_golden(
6667

6768

6869
@pytest.mark.integration
70+
@pytest.mark.cookiecutter
6971
@pytest.mark.parametrize("repo_type", [*config.RepositoryType])
7072
def test_generation(tmp_path: pathlib.Path, repo_type: config.RepositoryType) -> None:
7173
"""Test generation of a new repo."""

0 commit comments

Comments
 (0)