diff --git a/codecov.yml b/codecov.yml index 0563e00..795994b 100644 --- a/codecov.yml +++ b/codecov.yml @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 5904a44..18c56b0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"] diff --git a/tests/test_cookie.py b/tests/test_cookie.py index 723cc7f..27410c3 100644 --- a/tests/test_cookie.py +++ b/tests/test_cookie.py @@ -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}, @@ -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={ @@ -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}, @@ -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={ @@ -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.""" diff --git a/{{cookiecutter.project_slug}}/codecov.yml b/{{cookiecutter.project_slug}}/codecov.yml index 0563e00..795994b 100644 --- a/{{cookiecutter.project_slug}}/codecov.yml +++ b/{{cookiecutter.project_slug}}/codecov.yml @@ -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: