Skip to content

Re-enable Cygwin CI and get most tests passing #1455

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

Merged
merged 17 commits into from
Jun 21, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
TST: Mark test_submodule.TestSubmodule.test_root_module as xfail on C…
…ygwin
  • Loading branch information
DWesl authored Jun 21, 2022
commit 7f3689d1f9ffb3ae9122a284129b61e64ac30d2d
8 changes: 8 additions & 0 deletions test/test_submodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
import os
import shutil
import sys
from unittest import skipIf

import pytest

import git
from git.cmd import Git
from git.compat import is_win
Expand Down Expand Up @@ -433,6 +436,11 @@ def _do_base_tests(self, rwrepo):
def test_base_rw(self, rwrepo):
self._do_base_tests(rwrepo)

@pytest.mark.xfail(
sys.platform == "cygwin",
reason="Cygwin GitPython can't find submodule SHA",
raises=ValueError
)
@with_rw_repo(k_subm_current, bare=True)
def test_base_bare(self, rwrepo):
self._do_base_tests(rwrepo)
Expand Down