Skip to content
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
12 changes: 0 additions & 12 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,5 @@ coverage:
project:
default:
threshold: 1%
unit:
threshold: 1%
flags:
- unit
integration:
threshold: 1%
flags:
- integration
end_to_end:
threshold: 1%
flags:
- end_to_end

ignore:
6 changes: 0 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,4 @@ filterwarnings = [
"ignore: Using or importing the ABCs from 'collections' instead of from",
"ignore: The (parser|symbol) module is deprecated and will be removed in future",
]
markers = [
"wip: Tests that are work-in-progress.",
"unit: Flag for unit tests which target mainly a single function.",
"integration: Flag for integration tests which may comprise of multiple unit tests.",
"end_to_end: Flag for tests that cover the whole program.",
]
norecursedirs = [".idea"]
5 changes: 0 additions & 5 deletions tests/test_cookie.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
_PYTHON_VERSION = ".".join(map(str, sys.version_info[:2]))


@pytest.mark.end_to_end
def test_bake_project(cookies):
result = cookies.bake(
extra_context={"project_slug": "helloworld", "python_version": _PYTHON_VERSION},
Expand All @@ -19,7 +18,6 @@ def test_bake_project(cookies):
assert result.project_path.is_dir()


@pytest.mark.end_to_end
def test_remove_readthedocs(cookies):
result = cookies.bake(
extra_context={
Expand All @@ -38,7 +36,6 @@ def test_remove_readthedocs(cookies):
assert "readthedocs" not in readme


@pytest.mark.end_to_end
def test_remove_github_actions(cookies):
result = cookies.bake(
extra_context={"add_github_actions": "no", "python_version": _PYTHON_VERSION},
Expand All @@ -54,7 +51,6 @@ def test_remove_github_actions(cookies):
assert "github/workflow/status" not in readme


@pytest.mark.end_to_end
def test_remove_license(cookies):
result = cookies.bake(
extra_context={
Expand All @@ -71,7 +67,6 @@ def test_remove_license(cookies):
assert not license_.exists()


@pytest.mark.end_to_end
@pytest.mark.skipif(os.environ.get("CI") is None, reason="Run only in CI.")
def test_check_pixi_and_run_all_checks(cookies):
"""Test pixi and pre-commit passes."""
Expand Down
12 changes: 0 additions & 12 deletions {{cookiecutter.project_slug}}/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,5 @@ coverage:
project:
default:
threshold: 1%
unit:
threshold: 1%
flags:
- unit
integration:
threshold: 1%
flags:
- integration
end_to_end:
threshold: 1%
flags:
- end_to_end

ignore: