/external/python/pyfakefs/.github/workflows/ |
D | testsuite.yml | 12 runs-on: ubuntu-latest 14 - name: Check out repository 16 - name: Set up Python 17 uses: actions/setup-python@v5 19 python-version: "3.10" 20 - name: install pytype 21 run: pip install setuptools pytype pytest scandir pathlib2 pandas xlrd django pyarrow 22 - name: Run pytype 24 pytype pyfakefs --keep-going --exclude pyfakefs/tests/* --exclude pyfakefs/pytest_tests/* 27 runs-on: ${{ matrix.os }} [all …]
|
/external/rust/android-crates-io/crates/textdistance/ |
D | Taskfile.yaml | 8 install-nextest: 10 - test -f {{.CARGO_BIN}}/cargo-nextest 12 - curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C {{.CARGO_BIN}} 14 install-pytest: 16 - which pytest 18 - python3 -m pip install pytest 20 clone-licenses: 22 - test -d choosealicense.com 24 - git clone --depth 1 https://github.com/github/choosealicense.com.git 28 - cargo check --all {{.CLI_ARGS}} [all …]
|
/external/curl/tests/http/ |
D | README.md | 1 <!-- 4 SPDX-License-Identifier: curl 5 --> 14 `pytest` from there or from the top level curl checkout and it finds all 18 curl> pytest test/http 19 platform darwin -- Python 3.9.15, pytest-6.2.0, py-1.10.0, pluggy-0.13.1 26 Pytest takes arguments. `-v` increases its verbosity and can be used several times. `-k <expr>` can… 29 curl/tests/http> pytest -vv -k test_01_02 35 the output. If you run pytest verbose, it also gives you the reason for 42 1. a recent Python, the `cryptography` module and, of course, `pytest` [all …]
|
/external/python/httplib2/script/ |
D | test | 2 set -eux 3 # By default, run tests with pytest-forked plugin, 4 # disable in terminal for debugging, you may add --forked 5 flag_forked="--forked" 6 if [[ -z "${CONTINUOUS_INTEGRATION-}" ]] && [[ -t 1 ]] ; then 17 if [[ -n "${CONTINUOUS_INTEGRATION-}" ]] ; then 18 case "${test_group-}" in 33 pip install -e . 34 httplib2_test_still_run_skipped=1 pytest --fulltrace -k test_303 $@ tests/ || true 35 httplib2_test_still_run_skipped=1 pytest --fulltrace -k test_head_301 $@ tests/ || true [all …]
|
/external/yapf/.github/workflows/ |
D | ci.yml | 1 # This workflow will install Python dependencies, run tests and lint with a variety of Python versi… 2 …rmation see: https://help.github.com/actions/language-and-framework-guides/using-python-with-githu… 4 name: Test with pytest 12 runs-on: ${{ matrix.os }} 14 fail-fast: false 16 python-version: ["3.8", "3.11", "3.12"] # no particular need for 3.9 or 3.10 17 os: [macos-latest, ubuntu-latest, windows-latest] 19 - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 20 - name: Set up Python ${{ matrix.python-version }} 21 uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v4.6.0 [all …]
|
/external/python/typing_extensions/.github/workflows/ |
D | third_party.yml | 2 # running the tests of various third-party libraries that use us. 4 # and helps flag when third-party libraries are making incorrect assumptions 7 name: Third-party tests 11 - cron: "30 2 * * *" # 02:30 UTC 14 - ".github/workflows/third_party.yml" 25 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} 26 cancel-in-progress: true 31 if: >- 42 fail-fast: false 47 python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] [all …]
|
/external/ml_dtypes/.github/workflows/ |
D | test.yml | 7 - main 10 - main 16 group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} 17 cancel-in-progress: true 21 runs-on: ubuntu-latest 23 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 24 - name: Set up Python 3.12 25 uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 27 python-version: 3.12 28 - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 [all …]
|
/external/fonttools/ |
D | tox.ini | 3 envlist = lint, py3{8,9,10,11,12}-cov, htmlcov 9 # use 'download = true' to have tox install the latest pip inside the virtualenv. 10 # We need this to be able to install skia-pathops on Linux, which uses a 12 # https://github.com/tox-dev/tox/issues/791#issuecomment-518713438 14 # building lxml from source takes too long on CI, force it to download pre-compiled 15 # wheel or fail if none is found with --only-binary=lxml 16 install_command = python -m pip install --only-binary=lxml {opts} {packages} 19 pytest>=7.0.0 20 pytest-randomly 21 # add -noextra to tox -e to skip installing extras and only test the core fonttools [all …]
|
/external/coreboot/util/cbfstool/tests/ |
D | README.md | 3 To run the tests do `pytest name_of_the_file.py`. E.g: 6 $ pytest elogtool_test.py 11 ### Pytest subsection 13 Requires `pytest`. To install it do: 16 $ pip install --user pytest
|
/external/python/google-auth-library-python/ |
D | noxfile.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 36 session.install("flake8", "flake8-import-order", "docutils", BLACK_VERSION) 37 session.install("-e", ".") 38 session.run("black", "--check", *BLACK_PATHS) 41 "--import-order-style=google", 42 "--application-import-names=google,tests,system_tests", 48 "python", "setup.py", "check", "--metadata", "--restructuredtext", "--strict" 61 session.install(BLACK_VERSION) 68 CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt" 70 session.install("-r", "testing/requirements.txt", "-c", constraints_path) [all …]
|
/external/python/python-api-core/ |
D | noxfile.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 23 import nox # pytype: disable=import-error 29 BLACK_EXCLUDES = ["--exclude", "^/google/api_core/operations_v1/__init__.py"] 36 # 'docfx' is excluded since it only needs to run in 'docs-presubmit' 63 session.install("flake8", BLACK_VERSION) 64 session.install(".") 67 "--check", 80 session.install(BLACK_VERSION) 85 with open(constraints_path, encoding="utf-8") as constraints_file: 94 session.install(*constraints_deps) [all …]
|
/external/python/parse_type/ |
D | tox.ini | 11 # tox -e py27 12 # tox -e py37 17 # -- ONLINE USAGE: 29 # ----------------------------------------------------------------------------- 31 # ----------------------------------------------------------------------------- 32 # install_command = pip install -U {opts} {packages} 36 pytest {posargs:tests} 38 pytest < 5.0; python_version < '3.0' # >= 4.2 39 pytest >= 5.0; python_version >= '3.0' 40 pytest-html >= 1.19.0 [all …]
|
D | setup.py | 2 # -*- coding: utf-8 -*- 7 python setup.py install 9 pip install . 25 # -- USE: setuptools 29 # ----------------------------------------------------------------------------- 31 # ----------------------------------------------------------------------------- 39 "pytest < 5.0; python_version < '3.0'", # >= 4.2 40 "pytest >= 5.0; python_version >= '3.0'", 41 "pytest-html >= 1.19.0", 42 # -- PYTHON 2.6 SUPPORT: [all …]
|
/external/google-fruit/extras/dockerfiles/ |
D | Dockerfile.ubuntu-22.04 | 6 RUN bash -x /common_install.sh 8 COPY ubuntu-22.04_custom.list /etc/apt/sources.list.d/ 10 RUN apt-get update 12 RUN apt-get remove -y python3-pip 14 RUN apt-get install -y --allow-unauthenticated --no-install-recommends \ 15 g++-9 \ 16 g++-10 \ 17 g++-11 \ 18 g++-12 \ 19 clang-11 \ [all …]
|
D | Dockerfile.ubuntu-22.10 | 6 RUN bash -x /common_install.sh 8 COPY ubuntu-22.10_custom.list /etc/apt/sources.list.d/ 10 RUN apt-get update 12 RUN apt-get remove -y python3-pip 14 RUN apt-get install -y --allow-unauthenticated --no-install-recommends \ 15 g++-9 \ 16 g++-10 \ 17 g++-11 \ 18 g++-12 \ 19 clang-11 \ [all …]
|
D | Dockerfile.ubuntu-20.04 | 6 RUN bash -x /common_install.sh 8 COPY ubuntu-20.04_custom.list /etc/apt/sources.list.d/ 10 RUN apt-get update 12 RUN apt-get remove -y python3-pip 13 RUN python3 -m easy_install pip 15 RUN apt-get install -y --allow-unauthenticated --no-install-recommends \ 16 g++-7 \ 17 g++-8 \ 18 g++-9 \ 19 g++-10 \ [all …]
|
/external/curl/.github/workflows/ |
D | linux.yml | 3 # SPDX-License-Identifier: curl 10 - master 11 - '*/ci' 12 paths-ignore: 13 - '**/*.md' 14 - '.circleci/**' 15 - 'appveyor.*' 16 - 'packages/**' 17 - 'plan9/**' 18 - 'projects/**' [all …]
|
/external/curl/ |
D | Makefile.am | 21 # SPDX-License-Identifier: curl 27 ACLOCAL_AMFLAGS = -I m4 32 CMake/curl-config.cmake.in \ 63 CMake/win32-cache.cmake \ 67 projects/build-openssl.bat \ 84 EXTRA_DIST = CHANGES.md COPYING RELEASE-NOTES Dockerfile \ 89 bin_SCRIPTS = curl-config 97 dist-hook: 98 rm -rf $(top_builddir)/tests/log 99 find $(distdir) -name "*.dist" -exec rm {} \; [all …]
|
/external/google-fruit/extras/scripts/ |
D | postsubmit.bat | 24 mkdir build-%CONFIGURATION% 25 cd build-%CONFIGURATION% 27 cmake.exe -G "%CMAKE_GENERATOR%" .. -DCMAKE_BUILD_TYPE=%CONFIGURATION% %ADDITIONAL_CMAKE_ARGS% 35 mingw32-make -j12 || exit /b 1 41 pip3 install absl-py 42 pip3 install pytest 43 pip3 install pytest-xdist 46 python3 -m pytest -r a -n 1 || exit /b 1
|
/external/rust/pica/.github/workflows/ |
D | build_and_test.yml | 16 runs-on: ubuntu-latest 18 - uses: actions/checkout@v3 19 - name: Install Rust 1.76.0 20 uses: actions-rs/toolchain@v1 25 - name: Set Up Python 3.11 26 uses: actions/setup-python@v4 28 python-version: 3.11 29 - name: Install 31 pip install --upgrade pip 32 pip install ./py/pica/ [all …]
|
/external/python/portpicker/.github/workflows/ |
D | python-package.yml | 1 # This workflow will install Python dependencies, run tests and lint with a variety of Python versi… 2 …rmation see: https://help.github.com/actions/language-and-framework-guides/using-python-with-githu… 9 - 'main' 12 - 'main' 15 build-ubuntu: 17 runs-on: ubuntu-latest 19 fail-fast: false 21 python-version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12.0-beta - 3.12'] 24 - uses: actions/checkout@v3 25 - name: Set up Python ${{ matrix.python-version }} [all …]
|
/external/python/pyfakefs/docs/ |
D | intro.rst | 4 `pyfakefs <https://github.com/pytest-dev/pyfakefs>`__ implements a fake file 12 pyfakefs works with `pytest <doc.pytest.org>`__ version 3.0.0 or above by 16 ------------ 22 pip install pyfakefs 28 pip install git+https://github.com/pytest-dev/pyfakefs 31 -------- 32 - Code executed under pyfakefs works transparently on a memory-based file 37 - pyfakefs provides direct support for `pytest` (via the `fs` fixture) 41 - Each pyfakefs test starts with an empty file system, but it is possible to 45 - No files in the real file system are changed during the tests, even in the [all …]
|
/external/python/google-api-python-client/samples/compute/ |
D | noxfile.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 25 # WARNING - WARNING - WARNING - WARNING - WARNING 26 # WARNING - WARNING - WARNING - WARNING - WARNING 28 # WARNING - WARNING - WARNING - WARNING - WARNING 29 # WARNING - WARNING - WARNING - WARNING - WARNING 74 def get_pytest_env_vars() -> Dict[str, str]: 75 """Returns a dict for pytest invocation.""" 88 # DO NOT EDIT - automatically generated. 110 def _determine_local_import_names(start_dir: str) -> List[str]: 137 "--show-source", [all …]
|
/external/python/jinja/ |
D | CONTRIBUTING.rst | 8 ----------------- 15 - The ``#get-help`` channel on our Discord chat: 17 - The mailing list flask@python.org for long term discussion or larger 19 - Ask on `Stack Overflow`_. Search with Google first using: 26 ---------------- 30 - Describe what you expected to happen. 31 - If possible, include a `minimal reproducible example`_ to help us 34 - Describe what actually happened. Include the full traceback if there 36 - List your Python and Jinja versions. If possible, check if this 40 .. _minimal reproducible example: https://stackoverflow.com/help/minimal-reproducible-example [all …]
|
/external/executorch/.github/workflows/ |
D | _unittest.yml | 6 docker-image: 10 python-version: 17 uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5 20 docker-image: ${{ inputs.docker-image }} 25 set -eux 28 CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") 32 source .ci/scripts/setup-vulkan-linux-deps.sh 37 CMAKE_ARGS="-DEXECUTORCH_BUILD_XNNPACK=ON -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON" \ 38 .ci/scripts/setup-linux.sh cmake 40 # Install llama3_2_vision dependencies. [all …]
|