setup-python/__tests__/utils.test.ts
mahabaleshwars 19e4675e06
Some checks failed
e2e tests / Test setup-python (ubuntu-22.04) (push) Successful in 1m36s
e2e tests / Test setup-python (ubuntu-latest) (push) Successful in 1m26s
Licensed / Licensed (push) Failing after 3s
Basic validation / Basic validation (push) Failing after 0s
Check dist/ / Check dist/ (push) Failing after 1s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.10) (push) Successful in 20s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.9) (push) Successful in 25s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.10-v7.x) (push) Successful in 34s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.9-v7.x) (push) Successful in 30s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.10) (push) Failing after 3m8s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.9) (push) Failing after 3m9s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.10-v7.x) (push) Failing after 1m1s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.9-v7.x) (push) Failing after 1m0s
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.10) (push) Failing after 1m32s
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.9) (push) Failing after 1m37s
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.10-v7.x) (push) Failing after 1m34s
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.9-v7.x) (push) Failing after 1m39s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, 3.10) (push) Successful in 23s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, 3.9) (push) Successful in 27s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, pypy-3.10-v7.x) (push) Successful in 31s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, pypy-3.9-v7.x) (push) Successful in 30s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, 3.10) (push) Failing after 1m1s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, 3.9) (push) Failing after 54s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, pypy-3.10-v7.x) (push) Failing after 1m1s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, pypy-3.9-v7.x) (push) Failing after 1m15s
e2e tests / Test setup-python (ubuntu-20.04) (push) Failing after 35s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-22.3, ubuntu-20.04) (push) Successful in 29s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-22.3, ubuntu-latest) (push) Successful in 39s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.0, ubuntu-20.04) (push) Successful in 29s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.0, ubuntu-latest) (push) Successful in 31s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.1, ubuntu-20.04) (push) Successful in 33s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.1, ubuntu-latest) (push) Successful in 30s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-24.1, ubuntu-20.04) (push) Successful in 45s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-24.1, ubuntu-latest) (push) Successful in 29s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy22.3, ubuntu-20.04) (push) Successful in 25s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy22.3, ubuntu-latest) (push) Successful in 25s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.0, ubuntu-20.04) (push) Successful in 25s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.0, ubuntu-latest) (push) Successful in 19s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.1, ubuntu-20.04) (push) Successful in 24s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.1, ubuntu-latest) (push) Successful in 25s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy24.1, ubuntu-20.04) (push) Successful in 25s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy24.1, ubuntu-latest) (push) Successful in 49s
Validate GraalPy e2e / check-latest (ubuntu-latest) (push) Failing after 25s
e2e tests / Test setup-python (macos-13) (push) Has been cancelled
e2e tests / Test setup-python (macos-latest) (push) Has been cancelled
e2e tests / Test setup-python (windows-latest) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, 3.10) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, 3.9) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.10) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.10) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, 3.10) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-13, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, 3.9) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.10) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.10) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-13, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-13, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, 3.10) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, 3.10) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, 3.9) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-13, 3.10) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.10) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.9) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-13, 3.9) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.10) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-13, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-13, 3.10) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-13, 3.9) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, 3.10) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, 3.10) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, 3.10) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, pypy-3.9-v7.x) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-22.3, macos-13) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-22.3, macos-latest) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.0, macos-13) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.0, macos-latest) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.1, macos-13) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.1, macos-latest) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-24.1, macos-13) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-24.1, macos-latest) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy22.3, macos-13) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy22.3, macos-latest) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.0, macos-13) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.0, macos-latest) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.1, macos-13) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.1, macos-latest) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy24.1, macos-13) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy24.1, macos-latest) (push) Has been cancelled
Validate GraalPy e2e / check-latest (macos-13) (push) Has been cancelled
Validate GraalPy e2e / check-latest (macos-latest) (push) Has been cancelled
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / check-latest (macos-13, 3.11) (push) Waiting to run
Validate Python e2e / Setup 3.14.0-alpha.1 ${{ matrix.os }} (macos-13) (push) Waiting to run
Validate Python e2e / Setup 3.14.0-alpha.1 ${{ matrix.os }} (macos-latest) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-13, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-13, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-13, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-13, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-13, 3.9.13) (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.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-latest, 3.13.0) (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 }} (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.13.0) (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-13, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-13, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-13, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-13, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-13, 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.13.0) (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.13.0) (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-13, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-13, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-13, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-13, 3.13.0) (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 }} version file without parameter (macos-13, 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.13.0) (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 / check-latest (macos-13, 3.12) (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 (windows-latest, 3.13.0) (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 }} standard pyproject file (macos-13, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-13, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-13, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-13, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-13, ==3.12.3) (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 }} 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.13.0) (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.13.0) (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-13, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-13, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-13, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-13, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-13, 3.9.13) (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.13.0) (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.10.11) (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.13.0) (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 ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (macos-13, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (macos-13, 3.14-dev) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (macos-13, graalpy-24.1.2) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (macos-13, pypy3.11-7.3.18) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (macos-latest, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (macos-latest, 3.14-dev) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (macos-latest, graalpy-24.1.2) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (macos-latest, pypy3.11-7.3.18) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (windows-latest, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (windows-latest, 3.14-dev) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (windows-latest, pypy3.11-7.3.18) (push) Waiting to run
Validate Python e2e / Setup 3.14.0-alpha.1 ${{ matrix.os }} (windows-latest) (push) Waiting to run
Validate Python e2e / Setup 3.14-dev ${{ matrix.os }} (macos-13) (push) Waiting to run
Validate Python e2e / Setup 3.14-dev ${{ matrix.os }} (macos-latest) (push) Waiting to run
Validate Python e2e / Setup 3.14-dev ${{ matrix.os }} (windows-latest) (push) Waiting to run
Validate Python e2e / Setup 3.14 ${{ matrix.os }} (macos-13) (push) Waiting to run
Validate Python e2e / Setup 3.14 ${{ matrix.os }} (macos-latest) (push) Waiting to run
Validate Python e2e / Setup 3.14 ${{ matrix.os }} (windows-latest) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-13, 3.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-13, 3.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-13, 3.12) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-13, 3.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-13, 3.9) (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.13) (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.12) (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.13) (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.9) (push) Waiting to run
Validate Python e2e / check-latest (macos-13, 3.10) (push) Waiting to run
Validate Python e2e / check-latest (macos-13, 3.13) (push) Waiting to run
Validate Python e2e / check-latest (macos-13, 3.9) (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.13) (push) Waiting to run
Validate Python e2e / check-latest (macos-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.13) (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-13) (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
Update configuration files / Update configuration files (push) Failing after 14m10s
CodeQL analysis / CodeQL analysis (push) Failing after 14m4s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-20.04, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-22.04, 3.10.11) (push) Waiting to run
Validate Python e2e / check-latest (ubuntu-latest, 3.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-22.04, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-22.04, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-22.04, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-22.04, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-latest, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-20.04, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-20.04, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-20.04, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-20.04, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-20.04, ==3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-22.04, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-22.04, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-22.04, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-22.04, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-22.04, ==3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-latest, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-latest, ==3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-20.04, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-20.04, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-20.04, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-20.04, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-20.04, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-22.04, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-22.04, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-22.04, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-22.04, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-22.04, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-latest, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (ubuntu-20.04, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (ubuntu-20.04, 3.14-dev) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (ubuntu-20.04, graalpy-24.1.2) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (ubuntu-20.04, pypy3.11-7.3.18) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (ubuntu-22.04, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (ubuntu-22.04, 3.14-dev) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (ubuntu-22.04, graalpy-24.1.2) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (ubuntu-22.04, pypy3.11-7.3.18) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (ubuntu-latest, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (ubuntu-latest, 3.14-dev) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (ubuntu-latest, graalpy-24.1.2) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} .tool-versions file (ubuntu-latest, pypy3.11-7.3.18) (push) Waiting to run
Validate Python e2e / Setup 3.14.0-alpha.1 ${{ matrix.os }} (ubuntu-20.04) (push) Waiting to run
Validate Python e2e / Setup 3.14.0-alpha.1 ${{ matrix.os }} (ubuntu-22.04) (push) Waiting to run
Validate Python e2e / Setup 3.14.0-alpha.1 ${{ matrix.os }} (ubuntu-latest) (push) Waiting to run
Validate Python e2e / Setup 3.14-dev ${{ matrix.os }} (ubuntu-latest) (push) Waiting to run
Validate Python e2e / Setup 3.14 ${{ matrix.os }} (ubuntu-latest) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-20.04, 3.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-20.04, 3.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-20.04, 3.12) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-20.04, 3.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-20.04, 3.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-22.04, 3.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-22.04, 3.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-22.04, 3.12) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-22.04, 3.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-22.04, 3.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-latest, 3.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-latest, 3.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-latest, 3.12) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-latest, 3.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-latest, 3.9) (push) Waiting to run
Validate Python e2e / check-latest (ubuntu-latest, 3.10) (push) Waiting to run
Validate Python e2e / check-latest (ubuntu-latest, 3.11) (push) Waiting to run
Validate Python e2e / check-latest (ubuntu-latest, 3.12) (push) Waiting to run
Validate Python e2e / check-latest (ubuntu-latest, 3.13) (push) Waiting to run
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-latest) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.10.11) (push) Failing after 33s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.11.9) (push) Failing after 25s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.12.3) (push) Failing after 23s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.10.11) (push) Failing after 29s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.11.9) (push) Failing after 39s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.13.0) (push) Failing after 10m16s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.9.13) (push) Failing after 10m10s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.12.3) (push) Failing after 13m38s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.13.0) (push) Failing after 13m33s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.9.13) (push) Failing after 13m28s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-latest, 3.10.11) (push) Failing after 13m22s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-latest, 3.11.9) (push) Failing after 13m18s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-latest, 3.12.3) (push) Failing after 13m13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-latest, 3.13.0) (push) Failing after 13m8s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-latest, 3.9.13) (push) Failing after 13m3s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-20.04, 3.10.11) (push) Failing after 12m57s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-20.04, 3.11.9) (push) Failing after 12m53s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-20.04, 3.12.3) (push) Failing after 12m47s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-2.7-v7.3.12rc1) (push) Has been cancelled
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-20.04, 3.13.0) (push) Failing after 24s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-22.04, 3.10.11) (push) Failing after 25s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-22.04, 3.11.9) (push) Failing after 28s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-20.04, 3.9.13) (push) Failing after 1m50s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-22.04, 3.9.13) (push) Failing after 1m25s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-22.04, 3.12.3) (push) Failing after 28s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-22.04, 3.13.0) (push) Failing after 36s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-latest, 3.10.11) (push) Failing after 13m37s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-latest, 3.11.9) (push) Failing after 13m30s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-latest, 3.12.3) (push) Failing after 13m22s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-latest, 3.13.0) (push) Failing after 13m15s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-latest, 3.9.13) (push) Failing after 13m12s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-20.04, 3.10.11) (push) Failing after 13m8s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-20.04, 3.11.9) (push) Failing after 13m3s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-20.04, 3.12.3) (push) Failing after 12m58s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-20.04, 3.13.0) (push) Failing after 12m52s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy3.10-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10-v7.3.16) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-2.7-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-2.7) (push) Successful in 32s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-2.7-v7.3.12rc1) (push) Successful in 5m16s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-2.7-v7.3.17) (push) Successful in 5m22s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10) (push) Successful in 30s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10-nightly) (push) Successful in 1h7m40s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10-v7.3.16) (push) Successful in 10m45s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10-v7.3.17) (push) Successful in 10m3s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10-v7.3.x) (push) Successful in 50s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10-v7.x) (push) Successful in 25s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy3.10-v7.3.17) (push) Successful in 8m31s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy3.9) (push) Successful in 24s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-2.7) (push) Successful in 44s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-2.7-v7.3.12rc1) (push) Successful in 1m6s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-2.7-v7.3.17) (push) Successful in 7m42s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10) (push) Successful in 30s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10-nightly) (push) Successful in 1h13m8s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10-v7.3.16) (push) Successful in 7m46s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10-v7.3.17) (push) Successful in 7m55s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10-v7.3.x) (push) Successful in 26s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10-v7.x) (push) Successful in 25s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy3.10-v7.3.17) (push) Successful in 7m49s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy3.9) (push) Successful in 30s
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (ubuntu-22.04, pypy-2.7) (push) Successful in 28s
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (ubuntu-22.04, pypy-3.10) (push) Successful in 56s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-20.04, pypy2.7) (push) Successful in 19s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-3.10-nightly) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-3.10-v7.3.16) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-3.10-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-3.10-v7.3.x) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-3.10-v7.x) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy3.9) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-2.7-v7.3.12rc1) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-2.7-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10-nightly) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10-v7.3.x) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10-v7.x) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy3.10-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy3.9) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-2.7-v7.3.12rc1) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-2.7-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (macos-13, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (macos-14, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (windows-2019, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / check-latest (macos-13) (push) Has been cancelled
Validate PyPy e2e / check-latest (macos-latest) (push) Has been cancelled
Validate PyPy e2e / check-latest (ubuntu-latest) (push) Has been cancelled
Validate PyPy e2e / check-latest (windows-latest) (push) Has been cancelled
Validate PyPy e2e / setup-pypy-multiple-versions (macos-13) (push) Has been cancelled
Validate PyPy e2e / setup-pypy-multiple-versions (macos-latest) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10-nightly) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10-v7.3.16) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10-v7.3.x) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10-v7.x) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy3.10-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy3.9) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (macos-13, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (macos-14, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (macos-15, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (macos-15, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (ubuntu-22.04-arm, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (ubuntu-22.04-arm, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (ubuntu-24.04, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (ubuntu-24.04, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (ubuntu-24.04-arm, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (ubuntu-24.04-arm, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (windows-2019, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (windows-2022, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (windows-2022, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (windows-2025, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (windows-2025, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (macos-13, pypy2.7) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (macos-13, pypy3.10-nightly) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (macos-13, pypy3.9) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (macos-latest, pypy2.7) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (macos-latest, pypy3.10-nightly) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (macos-latest, pypy3.9) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-20.04, pypy3.9) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-latest, pypy2.7) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-latest, pypy3.10-nightly) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-latest, pypy3.9) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (windows-latest, pypy2.7) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (windows-latest, pypy3.10-nightly) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (windows-latest, pypy3.9) (push) Has been cancelled
Validate PyPy e2e / setup-pypy-multiple-versions (ubuntu-latest) (push) Has been cancelled
Validate PyPy e2e / setup-pypy-multiple-versions (windows-latest) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-20.04, pypy3.10-nightly) (push) Successful in 1h15m1s
Add support for .tool-versions file in setup-python (#1043)
* add support for .tool-versions file

* update regex

* optimize code

* update test-python.yml for .tool-versions

* fix format-check errors

* fix formatting in test-python.yml

* Fix test-python.yml error

* workflow update with latest versions

* update test cases

* fix lint issue
2025-03-13 10:21:27 -05:00

314 lines
11 KiB
TypeScript

import * as cache from '@actions/cache';
import * as core from '@actions/core';
import * as io from '@actions/io';
import fs from 'fs';
import path from 'path';
import {
validateVersion,
validatePythonVersionFormatForPyPy,
isCacheFeatureAvailable,
getVersionInputFromFile,
getVersionInputFromPlainFile,
getVersionInputFromTomlFile,
getNextPageUrl,
isGhes,
IS_WINDOWS,
getDownloadFileName,
getVersionInputFromToolVersions
} from '../src/utils';
jest.mock('@actions/cache');
jest.mock('@actions/core');
describe('validatePythonVersionFormatForPyPy', () => {
it.each([
['3.6', true],
['3.7', true],
['3.6.x', false],
['3.7.x', false],
['3.x', false],
['3', false]
])('%s -> %s', (input, expected) => {
expect(validatePythonVersionFormatForPyPy(input)).toEqual(expected);
});
});
describe('validateVersion', () => {
it.each([
['v7.3.3', true],
['v7.3.x', true],
['v7.x', true],
['x', true],
['v7.3.3-rc.1', true],
['nightly', true],
['v7.3.b', false],
['3.6', true],
['3.b', false],
['3', true]
])('%s -> %s', (input, expected) => {
expect(validateVersion(input)).toEqual(expected);
});
});
describe('isCacheFeatureAvailable', () => {
it('isCacheFeatureAvailable disabled on GHES', () => {
jest.spyOn(cache, 'isFeatureAvailable').mockImplementation(() => false);
const infoMock = jest.spyOn(core, 'warning');
const message =
'Caching is only supported on GHES version >= 3.5. If you are on a version >= 3.5, please check with your GHES admin if the Actions cache service is enabled or not.';
try {
process.env['GITHUB_SERVER_URL'] = 'http://example.com';
expect(isCacheFeatureAvailable()).toBeFalsy();
expect(infoMock).toHaveBeenCalledWith(message);
} finally {
delete process.env['GITHUB_SERVER_URL'];
}
});
it('isCacheFeatureAvailable disabled on dotcom', () => {
jest.spyOn(cache, 'isFeatureAvailable').mockImplementation(() => false);
const infoMock = jest.spyOn(core, 'warning');
const message =
'The runner was not able to contact the cache service. Caching will be skipped';
try {
process.env['GITHUB_SERVER_URL'] = 'http://github.com';
expect(isCacheFeatureAvailable()).toBe(false);
expect(infoMock).toHaveBeenCalledWith(message);
} finally {
delete process.env['GITHUB_SERVER_URL'];
}
});
it('isCacheFeatureAvailable is enabled', () => {
jest.spyOn(cache, 'isFeatureAvailable').mockImplementation(() => true);
expect(isCacheFeatureAvailable()).toBe(true);
});
});
const tempDir = path.join(
__dirname,
'runner',
path.join(Math.random().toString(36).substring(7)),
'temp'
);
describe('Version from file test', () => {
it.each([getVersionInputFromPlainFile, getVersionInputFromFile])(
'Version from plain file test',
async _fn => {
await io.mkdirP(tempDir);
const pythonVersionFileName = 'python-version.file';
const pythonVersionFilePath = path.join(tempDir, pythonVersionFileName);
const pythonVersionFileContent = '3.7';
fs.writeFileSync(pythonVersionFilePath, pythonVersionFileContent);
expect(_fn(pythonVersionFilePath)).toEqual([pythonVersionFileContent]);
}
);
it.each([getVersionInputFromTomlFile, getVersionInputFromFile])(
'Version from standard pyproject.toml test',
async _fn => {
await io.mkdirP(tempDir);
const pythonVersionFileName = 'pyproject.toml';
const pythonVersionFilePath = path.join(tempDir, pythonVersionFileName);
const pythonVersion = '>=3.7.0';
const pythonVersionFileContent = `[project]\nrequires-python = "${pythonVersion}"`;
fs.writeFileSync(pythonVersionFilePath, pythonVersionFileContent);
expect(_fn(pythonVersionFilePath)).toEqual([pythonVersion]);
}
);
it.each([getVersionInputFromTomlFile, getVersionInputFromFile])(
'Version from poetry pyproject.toml test',
async _fn => {
await io.mkdirP(tempDir);
const pythonVersionFileName = 'pyproject.toml';
const pythonVersionFilePath = path.join(tempDir, pythonVersionFileName);
const pythonVersion = '>=3.7.0';
const pythonVersionFileContent = `[tool.poetry.dependencies]\npython = "${pythonVersion}"`;
fs.writeFileSync(pythonVersionFilePath, pythonVersionFileContent);
expect(_fn(pythonVersionFilePath)).toEqual([pythonVersion]);
}
);
it.each([getVersionInputFromTomlFile, getVersionInputFromFile])(
'Version undefined',
async _fn => {
await io.mkdirP(tempDir);
const pythonVersionFileName = 'pyproject.toml';
const pythonVersionFilePath = path.join(tempDir, pythonVersionFileName);
fs.writeFileSync(pythonVersionFilePath, ``);
expect(_fn(pythonVersionFilePath)).toEqual([]);
}
);
it.each([getVersionInputFromToolVersions])(
'Version from .tool-versions',
async _fn => {
const toolVersionFileName = '.tool-versions';
const toolVersionFilePath = path.join(tempDir, toolVersionFileName);
const toolVersionContent = 'python 3.9.10\nnodejs 16';
fs.writeFileSync(toolVersionFilePath, toolVersionContent);
expect(_fn(toolVersionFilePath)).toEqual(['3.9.10']);
}
);
it.each([getVersionInputFromToolVersions])(
'Version from .tool-versions with comment',
async _fn => {
const toolVersionFileName = '.tool-versions';
const toolVersionFilePath = path.join(tempDir, toolVersionFileName);
const toolVersionContent = '# python 3.8\npython 3.9';
fs.writeFileSync(toolVersionFilePath, toolVersionContent);
expect(_fn(toolVersionFilePath)).toEqual(['3.9']);
}
);
it.each([getVersionInputFromToolVersions])(
'Version from .tool-versions with whitespace',
async _fn => {
const toolVersionFileName = '.tool-versions';
const toolVersionFilePath = path.join(tempDir, toolVersionFileName);
const toolVersionContent = ' python 3.10 ';
fs.writeFileSync(toolVersionFilePath, toolVersionContent);
expect(_fn(toolVersionFilePath)).toEqual(['3.10']);
}
);
it.each([getVersionInputFromToolVersions])(
'Version from .tool-versions with v prefix',
async _fn => {
const toolVersionFileName = '.tool-versions';
const toolVersionFilePath = path.join(tempDir, toolVersionFileName);
const toolVersionContent = 'python v3.9.10';
fs.writeFileSync(toolVersionFilePath, toolVersionContent);
expect(_fn(toolVersionFilePath)).toEqual(['3.9.10']);
}
);
it.each([getVersionInputFromToolVersions])(
'Version from .tool-versions with pypy version',
async _fn => {
const toolVersionFileName = '.tool-versions';
const toolVersionFilePath = path.join(tempDir, toolVersionFileName);
const toolVersionContent = 'python pypy3.10-7.3.14';
fs.writeFileSync(toolVersionFilePath, toolVersionContent);
expect(_fn(toolVersionFilePath)).toEqual(['pypy3.10-7.3.14']);
}
);
it.each([getVersionInputFromToolVersions])(
'Version from .tool-versions with alpha Releases',
async _fn => {
const toolVersionFileName = '.tool-versions';
const toolVersionFilePath = path.join(tempDir, toolVersionFileName);
const toolVersionContent = 'python 3.14.0a5t';
fs.writeFileSync(toolVersionFilePath, toolVersionContent);
expect(_fn(toolVersionFilePath)).toEqual(['3.14.0a5t']);
}
);
it.each([getVersionInputFromToolVersions])(
'Version from .tool-versions with dev suffix',
async _fn => {
const toolVersionFileName = '.tool-versions';
const toolVersionFilePath = path.join(tempDir, toolVersionFileName);
const toolVersionContent = 'python 3.14t-dev';
fs.writeFileSync(toolVersionFilePath, toolVersionContent);
expect(_fn(toolVersionFilePath)).toEqual(['3.14t-dev']);
}
);
});
describe('getNextPageUrl', () => {
it('GitHub API pagination next page is parsed correctly', () => {
function generateResponse(link: string) {
return {
statusCode: 200,
result: null,
headers: {
link: link
}
};
}
const page1Links =
'<https://api.github.com/repositories/129883600/releases?page=2>; rel="next", <https://api.github.com/repositories/129883600/releases?page=3>; rel="last"';
expect(getNextPageUrl(generateResponse(page1Links))).toStrictEqual(
'https://api.github.com/repositories/129883600/releases?page=2'
);
const page2Links =
'<https://api.github.com/repositories/129883600/releases?page=1>; rel="prev", <https://api.github.com/repositories/129883600/releases?page=1>; rel="first"';
expect(getNextPageUrl(generateResponse(page2Links))).toBeNull();
});
});
describe('getDownloadFileName', () => {
const originalEnv = process.env;
const tempDir = path.join(__dirname, 'runner', 'temp');
beforeEach(() => {
process.env = {...originalEnv};
});
afterEach(() => {
process.env = originalEnv;
});
it('should return the correct path on Windows', () => {
if (IS_WINDOWS) {
process.env['RUNNER_TEMP'] = tempDir;
const downloadUrl =
'https://github.com/actions/sometool/releases/tag/1.2.3-20200402.6/sometool-1.2.3-win32-x64.zip';
const expectedPath = path.join(
process.env.RUNNER_TEMP,
path.basename(downloadUrl)
);
expect(getDownloadFileName(downloadUrl)).toBe(expectedPath);
}
});
it('should return undefined on non-Windows', () => {
if (!IS_WINDOWS) {
const downloadUrl =
'https://github.com/actions/sometool/releases/tag/1.2.3-20200402.6/sometool-1.2.3-linux-x64.tar.gz';
expect(getDownloadFileName(downloadUrl)).toBeUndefined();
}
});
});
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();
});
});