Skip to content

Commit

Permalink
remove windows and mac tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Apr 25, 2024
1 parent 834eee9 commit c1ddf36
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def run_command(command):
raise RuntimeError(error_message) from None


@pytest.mark.skipif(sys.platform.startswith("win") or sys.platform == "darwin", reason="Tests too slow on Windows and Mac CI")
@pytest.mark.dependency()
def test_download_model():
repo_id = str(REPO_ID).replace("\\", "/") # fix for Windows CI
Expand Down Expand Up @@ -91,7 +92,6 @@ def test_finetune_model():


@pytest.mark.dependency(depends=["test_download_model", "test_download_books"])
@pytest.mark.skipif(sys.platform.startswith("win") or sys.platform == "darwin", reason="Too slow on Windows and Mac CI")
def test_pretrain_model():
OUT_DIR = Path("out") / "custom_pretrained"
pretrain_command = [
Expand All @@ -111,7 +111,6 @@ def test_pretrain_model():


@pytest.mark.dependency(depends=["test_download_model", "test_download_books"])
@pytest.mark.skipif(sys.platform.startswith("win") or sys.platform == "darwin", reason="Too slow on Windows and Mac CI")
def test_continue_pretrain_model():
OUT_DIR = Path("out") / "custom_continue_pretrained"
pretrain_command = [
Expand Down

0 comments on commit c1ddf36

Please sign in to comment.