Disable ssh check

This commit is contained in:
Frost Ming
2020-10-30 11:54:33 +08:00
parent 401da2e758
commit e6edaa6977
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ steps:
- script: |
git submodule sync
git submodule update --init --recursive
pipenv run pytest -ra -n 4 --junit-xml=junit/test-results.xml --fulltrace tests/
pipenv run pytest -ra -n 4 --junit-xml=junit/test-results.xml --fulltrace --timeout=60 tests/
failOnStderr: false
displayName: Run integration tests
env:
+1 -1
View File
@@ -80,4 +80,4 @@ jobs:
PYTHONIOENCODING: 'utf-8'
GIT_SSH_COMMAND: ssh -o StrictHostKeyChecking=accept-new -o CheckHostIP=no
run: |
pipenv run pytest -ra -n 4 --fulltrace tests
pipenv run pytest -ra -n 4 --fulltrace --timeout=60 tests
+1 -3
View File
@@ -217,12 +217,10 @@ def isolate(create_tmpdir):
# Ignore PIPENV_ACTIVE so that it works as under a bare environment.
os.environ.pop("PIPENV_ACTIVE", None)
os.environ.pop("VIRTUAL_ENV", None)
global WE_HAVE_GITHUB_SSH_KEYS
WE_HAVE_GITHUB_SSH_KEYS = check_github_ssh()
WE_HAVE_INTERNET = check_internet()
WE_HAVE_GITHUB_SSH_KEYS = check_github_ssh()
WE_HAVE_GITHUB_SSH_KEYS = False
class _Pipfile(object):