Skip to content

Commit

Permalink
Fixing appveyor (wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavid committed Apr 19, 2024
1 parent 00b04be commit 70c86e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ build_script:
set LIBGIT2=%APPVEYOR_BUILD_FOLDER%\venv
git clone --depth=1 -b v1.8.0 https://github.com/libgit2/libgit2.git libgit2
cd libgit2
cmake . -DBUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="%LIBGIT2%" -G "%GENERATOR%"
cmake . -DUSE_HTTPS=ON -DBUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="%LIBGIT2%" -G "%GENERATOR%"
cmake --build . --target install
cd ..
Expand Down
1 change: 1 addition & 0 deletions test/test_credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ def credentials(testrepo, url, username, allowed):
def test_fetch_certificate_check(testrepo):
class MyCallbacks(pygit2.RemoteCallbacks):
def certificate_check(testrepo, certificate, valid, host):
xxx
assert certificate is None
assert valid is True
assert host == b'github.com'
Expand Down

0 comments on commit 70c86e6

Please sign in to comment.