Revise isGhes logic (#963)
Some checks failed
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-latest) (push) Failing after 16s
Basic validation / Basic validation (push) Failing after 0s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy22.3, macos-latest) (push) Waiting to run
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.9) (push) Waiting to run
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.9) (push) Waiting to run
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.9-v7.x) (push) Waiting to run
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.9) (push) Waiting to run
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.9) (push) Waiting to run
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.9-v7.x) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.9) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.9-v7.x) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.9) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.9-v7.x) (push) Waiting to run
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.9) (push) Waiting to run
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.0, macos-latest) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-2.7) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-2.7-v7.3.12rc1) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-2.7-v7.3.14) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10-nightly) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (windows-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-latest, 3.8.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-latest, 3.8.10) (push) Waiting to run
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.9) (push) Waiting to run
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, 3.9) (push) Waiting to run
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, pypy-3.9-v7.x) (push) Waiting to run
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, 3.9) (push) Waiting to run
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, pypy-3.9-v7.x) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, 3.9) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, pypy-3.9-v7.x) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, 3.9) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, pypy-3.9-v7.x) (push) Waiting to run
e2e tests / Test setup-python (windows-latest) (push) Waiting to run
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-22.3, macos-latest) (push) Waiting to run
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.0, macos-latest) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-2.7) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-2.7-v7.3.12rc1) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-2.7-v7.3.14) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10-nightly) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10-v7.3.14) (push) Waiting to run
Validate Python e2e / check-latest (macos-latest, 3.9) (push) Waiting to run
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.9) (push) Successful in 15s
Validate GraalPy e2e / check-latest (macos-latest) (push) Waiting to run
Validate PyPy e2e / setup-pypy-multiple-versions (windows-latest) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10-v7.3.14) (push) Waiting to run
Check dist/ / Check dist/ (push) Failing after 0s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10-v7.3.x) (push) Waiting to run
CodeQL analysis / CodeQL analysis (push) Failing after 0s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10-v7.3.15) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10-v7.x) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy3.10-v7.3.15) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy3.9) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (windows-latest, pypy2.7) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (windows-latest, pypy3.10-nightly) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (windows-latest, pypy3.9) (push) Waiting to run
Validate PyPy e2e / check-latest (macos-latest) (push) Waiting to run
Validate PyPy e2e / check-latest (windows-latest) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-latest, 3.12.3) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, pypy-3.9-v7.x) (push) Failing after 27s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy22.3, ubuntu-20.04) (push) Successful in 13s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.0, ubuntu-latest) (push) Successful in 14s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-2.7-v7.3.14) (push) Successful in 13s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-2.7-v7.3.14) (push) Successful in 24s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10-v7.x) (push) Successful in 15s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-20.04, pypy2.7) (push) Successful in 22s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.9.13) (push) Failing after 12s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.11.9) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-22.04, 3.12.3) (push) Failing after 12s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10-v7.3.15) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10-v7.3.x) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10-v7.x) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy3.10-v7.3.15) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy3.9) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (macos-latest, pypy2.7) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (macos-latest, pypy3.10-nightly) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (macos-latest, pypy3.9) (push) Waiting to run
Validate PyPy e2e / setup-pypy-multiple-versions (macos-latest) (push) Waiting to run
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10-nightly) (push) Successful in 27s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10-v7.3.15) (push) Successful in 24s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy3.9) (push) Successful in 13s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy3.10-v7.3.15) (push) Successful in 26s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-latest, 3.8.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (windows-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (windows-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (windows-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (windows-latest, 3.8.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (windows-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-latest, 3.8.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (windows-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (windows-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (windows-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (windows-latest, 3.8.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (windows-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (windows-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (windows-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (windows-latest, 3.8.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (windows-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-latest, 3.8.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (windows-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / check-latest (macos-latest, 3.10) (push) Waiting to run
Validate Python e2e / check-latest (macos-latest, 3.11) (push) Waiting to run
Validate Python e2e / check-latest (macos-latest, 3.12) (push) Waiting to run
Validate Python e2e / check-latest (macos-latest, 3.8) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-latest, ==3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (windows-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (windows-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (windows-latest, 3.8.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (windows-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (windows-latest, ==3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (windows-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (windows-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (windows-latest, 3.8.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (windows-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup 3.13.0-alpha.6 ${{ matrix.os }} (macos-latest) (push) Waiting to run
Validate Python e2e / Setup 3.13.0-alpha.6 ${{ matrix.os }} (windows-latest) (push) Waiting to run
Validate Python e2e / Setup 3.13-dev ${{ matrix.os }} (macos-latest) (push) Waiting to run
Validate Python e2e / Setup 3.13-dev ${{ matrix.os }} (windows-latest) (push) Waiting to run
Validate Python e2e / Setup 3.13 ${{ matrix.os }} (macos-latest) (push) Waiting to run
Validate Python e2e / Setup 3.13 ${{ matrix.os }} (windows-latest) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-latest, 3.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-latest, 3.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-latest, 3.12) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-latest, 3.8) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-latest, 3.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (windows-latest, 3.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (windows-latest, 3.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (windows-latest, 3.12) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (windows-latest, 3.8) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (windows-latest, 3.9) (push) Waiting to run
Validate Python e2e / check-latest (windows-latest, 3.10) (push) Waiting to run
Validate Python e2e / check-latest (windows-latest, 3.11) (push) Waiting to run
Validate Python e2e / check-latest (windows-latest, 3.12) (push) Waiting to run
Validate Python e2e / check-latest (windows-latest, 3.8) (push) Waiting to run
Validate Python e2e / check-latest (windows-latest, 3.9) (push) Waiting to run
Validate Python e2e / setup-python-multiple-python-versions (macos-latest) (push) Waiting to run
Validate Python e2e / setup-python-multiple-python-versions (windows-latest) (push) Waiting to run
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.9-v7.x) (push) Successful in 15s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.9-v7.x) (push) Failing after 22s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10-v7.3.x) (push) Successful in 14s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10-v7.3.14) (push) Successful in 24s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-latest, pypy3.10-nightly) (push) Successful in 27s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.12.3) (push) Failing after 12s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.9) (push) Failing after 29s
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.9) (push) Failing after 30s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, 3.9) (push) Successful in 13s
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.9) (push) Failing after 40s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-22.3, ubuntu-20.04) (push) Successful in 14s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy22.3, ubuntu-latest) (push) Successful in 13s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.0, ubuntu-20.04) (push) Successful in 13s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-20.04, pypy3.9) (push) Successful in 12s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-latest, pypy2.7) (push) Successful in 12s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.10.11) (push) Failing after 12s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-20.04, 3.11.9) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-20.04, 3.11.9) (push) Failing after 14s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-22.04, 3.11.9) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-22.04, 3.9.13) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-22.04, ==3.12.3) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-20.04, 3.8.10) (push) Failing after 13s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, pypy-3.9-v7.x) (push) Successful in 14s
Validate GraalPy e2e / check-latest (ubuntu-latest) (push) Successful in 15s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10-v7.3.15) (push) Successful in 25s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10-v7.3.14) (push) Successful in 27s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10-v7.x) (push) Successful in 13s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-2.7-v7.3.12rc1) (push) Successful in 22s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10) (push) Successful in 13s
Validate PyPy e2e / setup-pypy-multiple-versions (ubuntu-latest) (push) Successful in 13s
Validate PyPy e2e / check-latest (ubuntu-latest) (push) Successful in 14s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.10.11) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-20.04, 3.12.3) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-20.04, 3.9.13) (push) Failing after 12s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-22.04, 3.10.11) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-22.04, 3.9.13) (push) Failing after 13s
e2e tests / Test setup-python (ubuntu-20.04) (push) Failing after 13s
Licensed / Licensed (push) Failing after 0s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, 3.9) (push) Failing after 22s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-22.3, ubuntu-latest) (push) Successful in 14s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10) (push) Successful in 15s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-2.7-v7.3.12rc1) (push) Successful in 23s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.12.3) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.9.13) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-20.04, 3.10.11) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-22.04, 3.11.9) (push) Failing after 13s
Validate Python e2e / Setup 3.13.0-alpha.6 ${{ matrix.os }} (ubuntu-22.04) (push) Failing after 12s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.0, ubuntu-20.04) (push) Successful in 14s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-2.7) (push) Successful in 14s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy3.9) (push) Successful in 13s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy3.10-v7.3.15) (push) Successful in 26s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-2.7) (push) Successful in 13s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10-v7.3.x) (push) Successful in 13s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-20.04, pypy3.10-nightly) (push) Successful in 27s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10-nightly) (push) Successful in 3m54s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-latest, pypy3.9) (push) Successful in 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.11.9) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.8.10) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-20.04, 3.9.13) (push) Failing after 13s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.0, ubuntu-latest) (push) Successful in 52s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-22.04, 3.10.11) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-22.04, 3.11.9) (push) Failing after 13s
Validate Python e2e / Setup 3.13.0-alpha.6 ${{ matrix.os }} (ubuntu-20.04) (push) Failing after 12s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-20.04, 3.9) (push) Failing after 12s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-22.04, 3.10) (push) Successful in 13s
Validate Python e2e / check-latest (ubuntu-latest, 3.8) (push) Failing after 16s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-20.04, 3.8.10) (push) Failing after 12s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-20.04, 3.8.10) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-22.04, 3.10.11) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-20.04, 3.10.11) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-20.04, 3.8.10) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-20.04, 3.9.13) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-20.04, ==3.12.3) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-22.04, 3.12.3) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-20.04, 3.10.11) (push) Failing after 14s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-20.04, 3.12.3) (push) Failing after 14s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-22.04, 3.9.13) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-20.04, 3.11.9) (push) Failing after 13s
Validate Python e2e / check-latest (ubuntu-latest, 3.12) (push) Failing after 16s
Validate Python e2e / check-latest (ubuntu-latest, 3.9) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-22.04, 3.10.11) (push) Failing after 12s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-22.04, 3.11.9) (push) Failing after 12s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-20.04, 3.10.11) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-22.04, 3.12.3) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-22.04, 3.9.13) (push) Failing after 13s
Validate Python e2e / Setup 3.13-dev ${{ matrix.os }} (ubuntu-latest) (push) Successful in 13s
Validate Python e2e / Setup 3.13 ${{ matrix.os }} (ubuntu-latest) (push) Successful in 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-20.04, 3.11) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-20.04, 3.12) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-22.04, 3.9) (push) Successful in 13s
Validate Python e2e / check-latest (ubuntu-latest, 3.10) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-20.04, 3.11.9) (push) Failing after 12s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-20.04, 3.12.3) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-20.04, 3.9.13) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-20.04, 3.10) (push) Failing after 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-22.04, 3.12) (push) Successful in 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-20.04, 3.8) (push) Failing after 12s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-22.04, 3.11) (push) Successful in 13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-22.04, 3.8) (push) Successful in 13s
Validate Python e2e / check-latest (ubuntu-latest, 3.11) (push) Failing after 14s

* Revise `isGhes` logic

* ran `npm run format`

* add unit test

* ran `npm run format`
This commit is contained in:
John Wesley Walker III
2024-10-21 18:42:17 +02:00
committed by GitHub
parent 19dfb7b659
commit f4c5a1183d
3 changed files with 51 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ import {
getVersionInputFromPlainFile,
getVersionInputFromTomlFile,
getNextPageUrl,
isGhes,
IS_WINDOWS,
getDownloadFileName
} from '../src/utils';
@@ -195,3 +196,41 @@ describe('getDownloadFileName', () => {
}
});
});
describe('isGhes', () => {
const pristineEnv = process.env;
beforeEach(() => {
jest.resetModules();
process.env = {...pristineEnv};
});
afterAll(() => {
process.env = pristineEnv;
});
it('returns false when the GITHUB_SERVER_URL environment variable is not defined', async () => {
delete process.env['GITHUB_SERVER_URL'];
expect(isGhes()).toBeFalsy();
});
it('returns false when the GITHUB_SERVER_URL environment variable is set to github.com', async () => {
process.env['GITHUB_SERVER_URL'] = 'https://github.com';
expect(isGhes()).toBeFalsy();
});
it('returns false when the GITHUB_SERVER_URL environment variable is set to a GitHub Enterprise Cloud-style URL', async () => {
process.env['GITHUB_SERVER_URL'] = 'https://contoso.ghe.com';
expect(isGhes()).toBeFalsy();
});
it('returns false when the GITHUB_SERVER_URL environment variable has a .localhost suffix', async () => {
process.env['GITHUB_SERVER_URL'] = 'https://mock-github.localhost';
expect(isGhes()).toBeFalsy();
});
it('returns true when the GITHUB_SERVER_URL environment variable is set to some other URL', async () => {
process.env['GITHUB_SERVER_URL'] = 'https://src.onpremise.fabrikam.com';
expect(isGhes()).toBeTruthy();
});
});

6
dist/setup/index.js vendored
View File

@@ -92017,7 +92017,11 @@ function validatePythonVersionFormatForPyPy(version) {
exports.validatePythonVersionFormatForPyPy = validatePythonVersionFormatForPyPy;
function isGhes() {
const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com');
return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM';
const hostname = ghUrl.hostname.trimEnd().toUpperCase();
const isGitHubHost = hostname === 'GITHUB.COM';
const isGitHubEnterpriseCloudHost = hostname.endsWith('.GHE.COM');
const isLocalHost = hostname.endsWith('.LOCALHOST');
return !isGitHubHost && !isGitHubEnterpriseCloudHost && !isLocalHost;
}
exports.isGhes = isGhes;
function isCacheFeatureAvailable() {

View File

@@ -116,7 +116,13 @@ export function isGhes(): boolean {
const ghUrl = new URL(
process.env['GITHUB_SERVER_URL'] || 'https://github.com'
);
return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM';
const hostname = ghUrl.hostname.trimEnd().toUpperCase();
const isGitHubHost = hostname === 'GITHUB.COM';
const isGitHubEnterpriseCloudHost = hostname.endsWith('.GHE.COM');
const isLocalHost = hostname.endsWith('.LOCALHOST');
return !isGitHubHost && !isGitHubEnterpriseCloudHost && !isLocalHost;
}
export function isCacheFeatureAvailable(): boolean {