Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: mark tests as slow #2873

Merged
merged 1 commit into from
Jan 10, 2025
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
3 changes: 3 additions & 0 deletions tests/integration_python/pixi_build/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from ..common import verify_cli_command


@pytest.mark.slow
def test_build_conda_package(pixi: Path, tmp_pixi_workspace: Path, build_data: Path) -> None:
"""
This one tries to build the rich example project
Expand All @@ -28,6 +29,7 @@ def test_build_conda_package(pixi: Path, tmp_pixi_workspace: Path, build_data: P
assert package_to_be_built.exists()


@pytest.mark.extra_slow
def test_build_using_rattler_build_backend(
pixi: Path,
tmp_pixi_workspace: Path,
Expand All @@ -53,6 +55,7 @@ def test_build_using_rattler_build_backend(
assert package_to_be_built.exists()


@pytest.mark.extra_slow
def test_smokey(pixi: Path, build_data: Path, tmp_pixi_workspace: Path) -> None:
test_data = build_data.joinpath("rattler-build-backend")
# copy the whole smokey project to the tmp_pixi_workspace
Expand Down
5 changes: 5 additions & 0 deletions tests/integration_python/pixi_build/test_git.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
from pathlib import Path
import shutil
import pytest

from ..common import verify_cli_command


@pytest.mark.extra_slow
def test_build_git_source_deps(pixi: Path, tmp_pixi_workspace: Path, build_data: Path) -> None:
"""
This one tries to build the rich example project
Expand Down Expand Up @@ -52,6 +54,7 @@ def test_build_git_source_deps(pixi: Path, tmp_pixi_workspace: Path, build_data:
assert f"conda: git+{target_git_url}#{commit_hash}" in pixi_lock_file.read_text()


@pytest.mark.extra_slow
def test_build_git_source_deps_from_branch(
pixi: Path, tmp_pixi_workspace: Path, build_data: Path
) -> None:
Expand Down Expand Up @@ -112,6 +115,7 @@ def test_build_git_source_deps_from_branch(
)


@pytest.mark.extra_slow
def test_build_git_source_deps_from_rev(
pixi: Path, tmp_pixi_workspace: Path, build_data: Path
) -> None:
Expand Down Expand Up @@ -175,6 +179,7 @@ def test_build_git_source_deps_from_rev(
)


@pytest.mark.slow
def test_build_git_source_deps_from_tag(
pixi: Path, tmp_pixi_workspace: Path, build_data: Path
) -> None:
Expand Down
Loading