Skip to content

Commit

Permalink
Do not fail if svn is not available in CI
Browse files Browse the repository at this point in the history
We keep only svn to avoid breaking existing workflows but
this is no longer in active use.
  • Loading branch information
enzbang committed Jan 20, 2025
1 parent 6d0f1cc commit aeb467c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tests/tests_e3/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import shutil
import os
from e3.fs import mkdir, cp
from e3.os.fs import touch
from e3.os.fs import touch, which
from e3.python.wheel import Wheel

import pytest
Expand All @@ -21,7 +21,14 @@

git = require_tool("git")
ldd = require_tool("ldd")
svn = require_tool("svn")


def svn_wrapper(request: pytest.FixtureRequest) -> None:
if not which("svn"):
pytest.skip("svn is not available")


svn = pytest.fixture(svn_wrapper)


class PypiSimulator:
Expand Down

0 comments on commit aeb467c

Please sign in to comment.